npmvc-base

1.0.0 • Public • Published

Basic setup for npmvc module (PureMVC) It auto includes a ApplicationFacade, AppConstants, and a StartCommand. I use this for a quick setup, that can be overidden by a custom StartCommand.

var puremvc =
    require("npmvc");
    require("npmvc-async")(puremvc);
    require("npmvc-base")(puremvc);
    
    // set the base path for puremvc classes 
    var basePath = __dirname + "/src";
    puremvc.setSourceDir(basePath);
    
    var app = test.ApplicationFacade.getInstance(test.ApplicationFacade.NAME);
    app.start();

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i npmvc-base

    Weekly Downloads

    1

    Version

    1.0.0

    License

    none

    Last publish

    Collaborators

    • rstr74