Simple Svelte starter kit boilerplate based on Webpack and SASS.
Just clone the project in a new folder:
git clone https://github.com/mohole/svelte-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.
Youn can change the notifications title by editing the displayName
field in the package.json
file:
"displayName": "Svelte starter kit",
you can also update the development server port and build folder in the webpack.config.js
file:
const dist = './dist';
const port = 8080;
Release under the MIT license.