@magic-xpa/cli
v4.1101.0
Published
Magic CLI for MagicWeb applications
Downloads
4,157
Readme
@magic-xpa/cli
This package is part of Magic xpa Web Application Framework. It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation. This project is a collection of Magic schematics.
prerequisites
Please install: npm i schematics @angular-devkit/[email protected] [email protected]
ng add @magic-xpa/cli
Run ng 'add @magic-xpa/cli' for download @magic-xpa/angular and set the angular project for working with Magic server. To see more options please run : ng g @magic-xpa/cli –help
ng g @magic-xpa/cli:magic
Run ng g @magic-xpa/cli:magic
to generate a Magic component/s, depends on the args.
options: [component|theme|]
To see more options please run : ng g @magic-xpa/cli:magic --help
ng generate @magic-xpa/cli:route
Run ng g @magic-xpa/cli:routes
to generate app.routes for navigation's.