npm.io
4.1202.0 • Published 13h ago

@magic-xpa/cli

Licence
SEE LICENSE IN EULA.pdf
Version
4.1202.0
Deps
2
Size
1.0 MB
Vulns
0
Weekly
4.3K

@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/schematics@0.6.8 typescript@2.7.2

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.

Keywords