项目作者: rewkha

项目描述 :
Svelte + Express.js minimal boilerplate
高级语言: JavaScript
项目地址: git://github.com/rewkha/svelte-express-boilerplate.git
创建时间: 2020-04-20T20:25:48Z
项目社区:https://github.com/rewkha/svelte-express-boilerplate

开源协议:MIT License

下载


Svelte.js + Express.js Boilerplate

This is minimal svelte.js with express.js boilterplate

Features

  • Svelte preprocess + svelte plugin for VS Code support (svelte.config.js)
  • Client app development with webpack-dev-server
  • SASS support
  • Example with global and local styles
  • svg-inline-loader to put svg into code like {@html importedSvg}
  • Example Express API
  • Nodemon
  • ESLint with some config
  • Passing the ENV variables from .svelte.env to FE

Installation

  1. npx degit github:rewkha/svelte-express-boilerplate.git ./my-awesome-project
  2. cd ./my-awesome-project
  3. npm i

Launch Development

  1. npm run dev

Launch Production

  1. npm start