Skip to content

mohole/random-picker

Repository files navigation

random-picker

Don't know who will be the next one to answer a question?

frontend-starter-kit

Simple starter kit boilerplate based on Webpack, SASS and Bootstrap 5 (alpha)

How to use

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.

Customizzazioni

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;

Licenza

Release under the MIT license.