Giter Site home page Giter Site logo

romanslonov / webpack4-multipage-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
16.0 2.0 8.0 2.81 MB

๐Ÿš€ Simple yet, powerful boilerplate using postcss and webpack 4 for building multi-page websites

JavaScript 86.05% CSS 3.18% HTML 10.77%
webpack4 webpack4-starter-kit webpack4-boilerplate boilerplate-front-end webpack-multipage multipage-static-websites

webpack4-multipage-boilerplate's Introduction

webpack4-multipage-boilerplate

This is a simple boilerplate for using webpack 4 with pug and POSTCSS to build multi-page website.

Why?

Time to time you need to build a not SPA web application but triditional multiple page website. But you still need toolkit such as Webpack, Babel (to use js advanced goodies like ES6/ES7) and so on. So I build this boilerplate that helps to kick off a new project for anyone ๐ŸŽ‰

Features

  1. webpack 4: JavaScript module bundler
  2. babel 7: Use next generation JavaScript today
  3. postcss: A tool for transforming styles
  4. eslint: The pluggable linting utility for JavaScript and JSX

Boilerplate structure

build/                codes related to building and dev-server
src/
|- assets/            assets (optional)
|- css/               stylesheets of an app
|- pages/             folder contains pages for the project
|  |- index.html      html page
|  |- index.js        entry point for this page

webpack4-multipage-boilerplate's People

Contributors

matrixbirds avatar romanslonov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

webpack4-multipage-boilerplate's Issues

How to detect new pages?

When I run the command "npm start" everything is fine. But when I create new folders and new files, I need to run "npm start" again to detect changes.

Is it possible to detect changes without restarting the project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.