generator-nxapp v0.0.14
Yeoman generator for NxApp - lets you quickly set up a project with sensible defaults and best practices.
Usage
For step-by-step instructions on using Yeoman and this generator to build a TODO NxApp application from scratch see this tutorial.
Install yo, grunt-cli, bower, generator-nxapp and generator-karma:
npm install -g grunt-cli bower yo generator-karma generator-nxappMake a new directory, and cd into it:
mkdir my-new-project && cd $_Run yo nxapp, optionally passing an app name:
yo nxapp [app-name]Run yo nxapp, optionally install dependencies:
yo nxapp [app-name] --installGenerators
Available generators:
App
Sets up a new Nx App, generating all the boilerplate you need to get started. The app generator also optionally installs Bootstrap and additional AngularJS modules, such as angular-resource (installed by default).
Example:
yo nxappMenu
Generates a menu.
Example:
yo nxapp:menu NewMenuCrud
Generates a crud in src.
Example:
yo nxapp:crudExplicitly define a app name
Example:
yo nxapp:crud userExplicitly install dependencies
Example:
yo nxapp:crud user --installProduces src/user/User.js
Produces src/user/UserConfig.js
Produces src/user/UserService.js
Produces src/user/consultaUser.html
Produces src/user/ConsultaUserController.js
Produces src/user/formularioUser.html
Produces src/user/FormularioUserController.html
Automatically add crud files in src/index.html.
Changelog
Recent changes can be viewed on Github on the Releases Page