A wiwi template + vue-loader setup with hot reload based on the template webpack for quick prototyping.
Use vue-cli: https://www.npmjs.com/package/vue-cli-luozheao
This is a project template for vue-cli. It is recommended to use npm 3+ for a more efficient dependency tree.
$ yarn global add vue-cli
$ vue init amplia-iiot/wiwi-template my-wiwi
$ cd my-wiwi
$ yarn install
$ yarn run dev
or
$ npm install -g vue-cli
$ vue init amplia-iiot/wiwi-template my-wiwi
$ cd my-wiwi
$ npm install
$ npm run dev
$ yarn global add @vue/cli-init
or
$ npm install -g @vue/cli-init
This project offers the following script that version the project using npm-version
$ npm version [ major | minor | patch ]