项目作者: Pragma8123

项目描述 :
高级语言: JavaScript
项目地址: git://github.com/Pragma8123/onsen-express-webpack.git
创建时间: 2018-02-02T18:15:56Z
项目社区:https://github.com/Pragma8123/onsen-express-webpack

开源协议:

下载


onsen-express-webpack

A simple Vue 2.0 Webpack & vue-loader setup utilizing vue-onsenui & express w/ Webpack Dev Middleware. This template is designed for quick prototyping and is not intended for production use.

Usage

This is a project template for vue-cli

  1. $ npm install -g vue-cli
  2. $ vue init pragma8123/onsen-express-webpack my-project
  3. $ cd my-project
  4. $ npm install
  5. $ npm run dev

What’s Included

  • npm run dev: vue-onsenui + express w/ webpack-dev-middleware & webpack-hot-middleware

  • npm run build: build with HTML/CSS/JS minification

  • npm run prod: build with minification and run with NODE_ENV=production