0.0.14 • Published 10 years ago

generator-nxapp v0.0.14

Weekly downloads
4
License
MIT
Repository
github
Last release
10 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

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.1

10 years ago