0.0.14 • Published 9 years ago

generator-nxapp v0.0.14

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

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-nxapp

Make 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] --install

Generators

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 nxapp

Menu

Generates a menu.

Example:

yo nxapp:menu NewMenu

Crud

Generates a crud in src.

Example:

yo nxapp:crud

Explicitly define a app name

Example:

yo nxapp:crud user

Explicitly install dependencies

Example:

yo nxapp:crud user --install

Produces 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

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.1

9 years ago