Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Pragma8123/onsen-express-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

$ npm install -g vue-cli
$ vue init pragma8123/onsen-express-webpack my-project
$ cd my-project
$ npm install
$ 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