⚠️ ⚠️ DEPRECATED!⚠️ ⚠️ - this project is no longer mantained, if you want a quick frontend scaffolding tool you should definetely check Vite.js.
Simple starter kit boilerplate based on Webpack, SASS and Bootstrap 5 (beta)
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.
To update the page title edit the displayName
filed in the package.json
file:
"displayName": "Mohole frontend starter kit",
to change the port to expose the project and the folder to build to just update the related constants in the webpack.config.js
file:
const dist = "./dist";
const port = 8080;
Released under the MIT license.