svelte-webpack-boilerplate
Svelte application boilerplate with Webpack, less, PostCss/autoprefixer, svelte-spa-router
Features
This boilerplate includes the latest powerfull tools:
- Svelte - Component framework which compiles your code to tiny, framework-less vanilla JS.
- Babel - The compiler for next generation JavaScript.(babel/polyfill included)
- less - CSS preprocessor, which adds special features such as variables, nested rules and mixins
- PostCss/autoprefixer - A plugin to parse CSS and add vendor prefixes to CSS rules using values from Can I Use.
- webpack - A static module bundler for modern JavaScript applications.
- svelte-sap-router - A router for svelte3
Get Started
To create a new project based on this boilerplate, you may following next way:
- Clone this repository:
git clone https://github.com/zhanbohui/svelte-webpack-boilerplate
cd svelte-webpack-boilerplate
- Install the dependencies:
npm install
- Start the development server:
npm run start
- Build the project:
npm run build
About Router
come to this repository to see How to use it.