To get started run:
npm install
The SASS/SCSS code goes inside the styles directory.
The JS code goes inside the app directory.
The Handlebars files goes inside the templates directory.
Changes in real time
-
Start the Webpack Dev Server:
npm run dev
-
Go to the url:
http://localhost:8080/webpack-dev-server/
-
Start to code and see the magic happens.
-
After you finish the development, run the next command to have all your code available and minified in your build directory:
npm run build