Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 2.62 KB

New_project.md

File metadata and controls

45 lines (29 loc) · 2.62 KB

Create a Neutronium application from scratch

Getting started

Best way to start is to install Visual Studio Template (see complete instruction here) which contains 3 templates:

  • Neutronium knockout Application

    knockout basic start-up project.

  • Neutronium Vue Application

    Vue start-up project.
    Shipped with neutronium-vue template that uses webpack to bundle javascript files. Use:

    • npm run dev to develop application in the browser.
      In this mode, the application is using data provided by the \data\vm.cjson file. Use Neutronium export command to generate such file.
    • npm run integrated to serve js file in way that can be used in hot-reload mode. See below.
    • npm run build to create js file that while be loaded and used inNeutronium application.

    The provided Neutronium application can be runt in 3 modes:

    • -dev development mode with hot-reload enable. You should run npm run integrated before running the application in this mode. In this mode, it is possible to edit javascript, CSS and HTML and to see the changes in a running Neutronium application.
    • -test test mode: Neutronium debug is allowed but files from the build are used. No hot-reload
    • -prod production mode: no Neutronium debug allowed. Build files are used

Production mode is the only possible mode when using none-debug build.
Test mode is the default mode when building in debug mode.
To switch the different modes, use the Visual studio Project Property>Debug window:


  • Neutronium.Vue.SPA This template contains all of Neutronium Vue Application template features. In addition, it contains:

Complete documentation can be found here

It can be used as a start-up for a new application as well as a starting point to create your own template