AppShell generator
This is the documentation for Angular 6.
You can switch to the latest version Angular 10.
You can switch to the latest version Angular 10.
ng generate appShell [name] [--[argument]=[value]]
ng generate app-shell
Create an app shell.
Hint
Options
--clientProject
#
Type | string |
--universalProject
#
Type | string |
--route
#
Type | string |
Default | shell |
--name
#
Type | string |
--appId
#
Type | string |
Default | serverApp |
--outDir
#
Type | string |
Default | dist-server |
--root
#
Type | string |
Default | src |
--index
#
Type | string |
Default | index.html |
--main
#
Type | string |
Default | main.server.ts |
--test
#
Type | string |
--tsconfigFileName
#
Type | string |
Default | tsconfig.server |
--testTsconfigFileName
#
Type | string |
Default | tsconfig.spec |
--appDir
#
Type | string |
Default | app |
--rootModuleFileName
#
Type | string |
Default | app.server.module.ts |
--rootModuleClassName
#
Type | string |
Default | AppServerModule |
--sourceDir
#
Type | string |
Default | src |
Aliases | D |