An open API service indexing awesome lists of open source software.

https://github.com/neutroniumcore/vue-cli-plugin-neutronium

🛠️ vue-cli-3 plugin for Neutronium
https://github.com/neutroniumcore/vue-cli-plugin-neutronium

Last synced: 10 months ago
JSON representation

🛠️ vue-cli-3 plugin for Neutronium

Awesome Lists containing this project

README

          

# vue-cli-plugin-neutronium

[![npm](https://img.shields.io/npm/v/vue-cli-plugin-neutronium.svg) ![npm](https://img.shields.io/npm/dm/vue-cli-plugin-neutronium.svg)](https://www.npmjs.com/package/vue-cli-plugin-neutronium)
[![vue-cli3](https://img.shields.io/badge/vue--cli-3.x-brightgreen.svg)](https://github.com/vuejs/vue-cli)
[![MIT License](https://img.shields.io/github/license/NeutroniumCore/vue-cli-plugin-neutronium.svg)](https://github.com/NeutroniumCore/vue-cli-plugin-neutronium/blob/master/LICENSE)

[Vue-cli 3](https://cli.vuejs.org/) plugin to generate a vue [neutronium](https://github.com/NeutroniumCore/Neutronium) project allowing development in the browser, using live-reload on a C# application, and build to neutronium compatible scripts.

![](./__doc__/vue-ui-screenshot1.png)

## 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](https://github.com/NeutroniumCore/Neutronium/blob/master/Documentation/Content/Reference_Files.md).

- Use root vm plugin:
- default: `true`
- configure [neutronium-vue-root-vm-access](https://github.com/NeutroniumCore/neutronium-vue-root-vm-access) making root ViewModel accessible as `this.$rootVm ` in vue components.

- Use vue router:
- default: `false`
- configure [vue-router](https://router.vuejs.org/) integrated with ViewModel using [ViewModel.Tools ApplicationViewModel](https://github.com/NeutroniumCore/ViewModel.Tools)

- Use internalization:
- default: false
- convert .Net .resx file into json files and configure [vue-i18n](https://kazupon.github.io/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
``` sh
npm run serve
```

Debug application in the browser.

``` sh
npm run live
```

Serve the page for live-reload mode of Neutronium application.

``` sh
npm run build
```

Build the application.

## Configuration

## Installing in an Already Created Project

``` sh
vue add neutronium
```

## Injected webpack-chain Rules
No Changes are performed