Skip to content

19. Narik Schematics

Ali Badakhshan edited this page Jul 30, 2019 · 7 revisions

Narik Schematics

Narik schematic helps you to create and manage Narik applications easily.

(Make sure version of Angular Cli is higher that 8)

ng narik add

With this command you can add narik to an angular cli. this command has two options:

  • ui: This option specifies that which ui framework should be used in application.
    Available options are:

    • material
    • devextreme
    • ng-bootstrap
    • primeng
    • nebular

    If you don't specify this options material will be used.

  • layout: This option specifies that which layout should be used in application.
    Available options are:

    • ngxadmin
    • coreui
    • architectui

    If you don't specify this options ngxadmin will be used.

  • rtl: This option specifies that created application should be rtl or not.
    you should set this options with true or false. default value id false;

example:

ng add narik
ng add narik --ui=nebular
ng add narik --ui=nebular  --rtl=true
ng add narik --ui=primeng --layout=coreui

First sample creates Narik application with material UI. Created application will be left to right
Second sample creates Narik application with nebular UI. Created application will be left to right
Third sample creates Narik application with nebular UI. Created application will be right to left;