Package Exports
- vue-cli-plugin-neutronium
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-cli-plugin-neutronium) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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