svelte-starter-kit Svelte Themes

Svelte Starter Kit

Svelte starter kit by Mohole

svelte-starter-kit

Simple Svelte starter kit boilerplate based on Webpack and SASS.

How to use

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.

Customizations

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;

License

Release under the MIT license.

Top categories

Loading Svelte Themes