https://github.com/neutroniumcore/neutronium.simple.template
Neutronium simple template
https://github.com/neutroniumcore/neutronium.simple.template
Last synced: over 1 year ago
JSON representation
Neutronium simple template
- Host: GitHub
- URL: https://github.com/neutroniumcore/neutronium.simple.template
- Owner: NeutroniumCore
- License: mit
- Created: 2019-01-07T11:09:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-25T03:20:21.000Z (over 7 years ago)
- Last Synced: 2025-03-04T07:40:18.912Z (over 1 year ago)
- Language: C#
- Size: 722 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

Neutronium.Simple.Template
[](https://ci.appveyor.com/project/David-Desmaisons/neutronium-simple-template)
[](https://github.com/NeutroniumCore/Neutronium.Simple.Template/blob/master/LICENSE)
This project is a template application for Neutronium Vue project.
## Features
### npm script
* `npm run serve`
Serve files for Neutronium for debug in local browser using `.cjson` files as view-model.
* `npm run live`
Serve files for Neutronium hot-reload.
* `npm run build`
Build files to be used in Neutronium application.
### Command line argument
Usage:
--mode=live
-m=dev --url=http://localhost:9090/index.html
-u=http://localhost:9091/index.html
Options:
-m --mode=(live|dev|prod) Set application mode.
-u --url= Set view url

### Application mode
* Live:
Debug mode with hot-reload activated using file served by `npm run live` scripts.
* Dev:
Debug mode using local files.
* Prod:
No debug, using local files.
### Injected context command
#### To Live
* Only available in `dev` mode.
* Switch to `live` mode by running `npm run live` and reloading the page using the served files.


#### Reload
* Only available in `live` mode.
* Reload the page. Maybe useful on some scenario when page does not automatically reload.
