Simple starter kit boilerplate based on Webpack, SASS and Bootstrap 5 (alpha)
Just clone the project in a new folder:
git clone https://github.com/mohole/frontend-starter-kit my-new-project
install dependencies
cd my-new-project
npm install
# or "npm i" as shortcut...
and get started:
npm start
This will start a webpack-dev-server
instance in hot-reload
mode (this will automatically update your browser when you apply any changes to the source files), your project will be exposed at localhost:8080
.
To create the optimized files to publish to whaterver static hosting you choose, just run:
npm run build
the result will be available in the ./dist
folder.
Per cambiare il titolo delle notifiche e della pagina, modificare il campo displayName
nel file package.json
:
"displayName": "Mohole frontend starter kit",
per modificare la porta su cui avviare il dev-server di Webpack e la cartella in cui generare i file pubblicabili, basta modificare le relative costanti nel file webpack.config.js
:
const dist = './dist';
const port = 8080;
Release under the MIT license.