A simple Vue 2.0 Neutronium vue-cli template using Webpack.
Please use vue-cli 3 plugin: vue-cli-plugin-neutronium
This is a project template for vue-cli for starting Neutronium project
$ npm install -g vue-cli
$ vue init NeutroniumCore/neutronium-vue#v6.2.0 my-view
$ cd my-view
$ npm install
$ npm run dev
See here for complete instruction.
-
npm run dev
: Webpack +vue-loader
with proper config for source maps & hot-reload for developing using web browser. Use data.json file to provide viewmodel data to your application. -
npm run build
: build for neutronium usage with HTML/CSS/JS minification. Just reference the generateddist\build.js
anddist\index.html
in the neutronium project -
Support of cjson files in
\data
folder to be used as dev ViewModel
Each versions is specific to a version of Neutronium.JavascriptFramework.Vue.
Version 6.3.0
is compatible with last Neutronium version: v1.3.0
For 1.2.0
use:
$ vue init NeutroniumCore/neutronium-vue#v6.1.0 my-project
For 1.1.0
use:
$ vue init NeutroniumCore/neutronium-vue#v5.2.0 my-project
For 1.0.0
use:
$ vue init NeutroniumCore/neutronium-vue#v4.1.1 my-project
For 0.6.0
use:
$ vue init NeutroniumCore/neutronium-vue#v3.2.0 my-project
For 0.5.0
use:
$ vue init NeutroniumCore/neutronium-vue#v3.0.0 my-project
For 0.4.0
use:
$ vue init NeutroniumCore/neutronium-vue#v2.4.0 my-project
Build large project with Vue.js and Webpack
You can fork this repo to create your own boilerplate, and use it with vue-cli
:
vue init username/repo my-project