svelte-webpack-boilerplate Svelte Themes

Svelte Webpack Boilerplate

Svelte application boilerplate with Webpack, less, PostCss/autoprefixer, svelte-spa-router

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:

  1. Clone this repository:
    git clone https://github.com/zhanbohui/svelte-webpack-boilerplate
    cd svelte-webpack-boilerplate
    
  2. Install the dependencies:
    npm install
    
  3. Start the development server:
    npm run start
    
  4. Build the project:
    npm run build
    

About Router

come to this repository to see How to use it.

Top categories

Loading Svelte Themes