vue-cli-plugin-neutronium
v0.4.0
Published
vue-cli 3 plugin to create neutronium application
Downloads
71
Maintainers
Readme
vue-cli-plugin-neutronium
Vue-cli 3 plugin to generate a vue neutronium project allowing development in the browser, using live-reload on a C# application, and build to neutronium compatible scripts.
Options:
Neutronium version:
Option 1.3 and 1.4 (default)
Important: for version superior to 1.4 local files should be referenced using the pack uri syntax.
Use root vm plugin:
- default:
true
- configure neutronium-vue-root-vm-access making root ViewModel accessible as
this.$rootVm
in vue components.
- default:
Use vue router:
- default:
false
- configure vue-router integrated with ViewModel using ViewModel.Tools ApplicationViewModel
- default:
Use internalization:
- default: false
- convert .Net .resx file into json files and configure vue-i18n to use them
- Addition information needed for this option:
- Resource file name
- Project namespace
- Path to C# project (default to namespace)
- library name (default to namespace)
- locales to be used
Scripts
npm run serve
Debug application in the browser.
npm run live
Serve the page for live-reload mode of Neutronium application.
npm run build
Build the application.
Configuration
Installing in an Already Created Project
vue add neutronium
Injected webpack-chain Rules
No Changes are performed