A simple Vue 2.0 H5 + offline setup for quick prototyping.
This template is JavaScript Standard Style.
This template is Vue 2.0+ compatible.
This is a project template for vue-cli.
$ npm install -g vue-cli
$ vue init wmfe/offline my-project
$ cd my-project
$ npm install
$ npm run dev
-
npm run dev
: App with proper config for source map & hot-reload. -
npm run build
: Production build with HTML/CSS/JS minification. -
npm run offline
: Build for offline and output release.zip of offline
! You maybe need to change your pluginId,which default is bdwm.plugin.offlinetest
.
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init username/repo my-project