Site with Webpack Boilerplate
Golden rule: Keep It Simple and Straightforward (KISS)
Keep it simple and straightforward but good enough so it can become a large site or application.
Install dependencies
- Run
npm install
Development
BEFORE DEVELOPMENT
For Windows
set NODE_OPTIONS=--openssl-legacy-provider
For Linux and MacOS
export NODE_OPTIONS=--openssl-legacy-provider
After preperation you can start development
- Run
npm run watch
- In your browser, navigate to: http://localhost:3000/
Publish
Run
npm run build
How-to / Guidelines
- Webpack documentation: https://webpack.js.org/concepts/
- CSS guidelines: https://cssguidelin.es/#commenting
- SASS guidelines: https://sass-guidelin.es/
- Media queries: https://include-media.com/#documentation
- JavaScript guidelines (Google): https://google.github.io/styleguide/jsguide.html