项目作者: zhanbohui

项目描述 :
Svelte application boilerplate with Webpack, less, PostCss/autoprefixer, svelte-spa-router
高级语言: JavaScript
项目地址: git://github.com/zhanbohui/svelte-webpack-boilerplate.git
创建时间: 2019-11-05T07:55:17Z
项目社区:https://github.com/zhanbohui/svelte-webpack-boilerplate

开源协议:

下载


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:
    1. git clone https://github.com/zhanbohui/svelte-webpack-boilerplate
    2. cd svelte-webpack-boilerplate
  2. Install the dependencies:
    1. npm install
  3. Start the development server:
    1. npm run start
  4. Build the project:
    1. npm run build

About Router

come to this repository to see How to use it.