|
| 1 | +<!-- Links in /docs/documentation should NOT have \`.md\` at the end, because they end up in our wiki at release. --> |
| 2 | + |
| 3 | +# ng generate app-shell |
| 4 | + |
| 5 | +## Overview |
| 6 | +Create an app shell. |
| 7 | + |
| 8 | +## Options |
| 9 | +<details> |
| 10 | + <summary>dry-run</summary> |
| 11 | + <p> |
| 12 | + <code>--dry-run</code> (alias: <code>-d</code>) |
| 13 | + </p> |
| 14 | + <p> |
| 15 | + Run through without making any changes. |
| 16 | + </p> |
| 17 | +</details> |
| 18 | +<details> |
| 19 | + <summary>force</summary> |
| 20 | + <p> |
| 21 | + <code>--force</code> (alias: <code>-f</code>) |
| 22 | + </p> |
| 23 | + <p> |
| 24 | + Forces overwriting of files. |
| 25 | + </p> |
| 26 | +</details> |
| 27 | +<details> |
| 28 | + <summary>client-project</summary> |
| 29 | + <p> |
| 30 | + <code>--client-project</code> |
| 31 | + </p> |
| 32 | + <p> |
| 33 | + Name of related client app. |
| 34 | + </p> |
| 35 | +</details> |
| 36 | +<details> |
| 37 | + <summary>universal-project</summary> |
| 38 | + <p> |
| 39 | + <code>--universal-project</code> |
| 40 | + </p> |
| 41 | + <p> |
| 42 | + Name of related universal app. |
| 43 | + </p> |
| 44 | +</details> |
| 45 | +<details> |
| 46 | + <summary>route</summary> |
| 47 | + <p> |
| 48 | + <code>--route</code> |
| 49 | + </p> |
| 50 | + <p> |
| 51 | + Route path used to produce the app shell. |
| 52 | + </p> |
| 53 | +</details> |
| 54 | +<details> |
| 55 | + <summary>name</summary> |
| 56 | + <p> |
| 57 | + <code>--name</code> |
| 58 | + </p> |
| 59 | + <p> |
| 60 | + Name of the universal app |
| 61 | + </p> |
| 62 | +</details> |
| 63 | +<details> |
| 64 | + <summary>app-id</summary> |
| 65 | + <p> |
| 66 | + <code>--app-id</code> |
| 67 | + </p> |
| 68 | + <p> |
| 69 | + The appId to use withServerTransition. |
| 70 | + </p> |
| 71 | +</details> |
| 72 | +<details> |
| 73 | + <summary>out-dir</summary> |
| 74 | + <p> |
| 75 | + <code>--out-dir</code> |
| 76 | + </p> |
| 77 | + <p> |
| 78 | + The output directory for build results. |
| 79 | + </p> |
| 80 | +</details> |
| 81 | +<details> |
| 82 | + <summary>root</summary> |
| 83 | + <p> |
| 84 | + <code>--root</code> |
| 85 | + </p> |
| 86 | + <p> |
| 87 | + The root directory of the app. |
| 88 | + </p> |
| 89 | +</details> |
| 90 | +<details> |
| 91 | + <summary>index</summary> |
| 92 | + <p> |
| 93 | + <code>--index</code> |
| 94 | + </p> |
| 95 | + <p> |
| 96 | + Name of the index file |
| 97 | + </p> |
| 98 | +</details> |
| 99 | +<details> |
| 100 | + <summary>main</summary> |
| 101 | + <p> |
| 102 | + <code>--main</code> |
| 103 | + </p> |
| 104 | + <p> |
| 105 | + The name of the main entry-point file. |
| 106 | + </p> |
| 107 | +</details> |
| 108 | +<details> |
| 109 | + <summary>test</summary> |
| 110 | + <p> |
| 111 | + <code>--test</code> |
| 112 | + </p> |
| 113 | + <p> |
| 114 | + The name of the test entry-point file. |
| 115 | + </p> |
| 116 | +</details> |
| 117 | +<details> |
| 118 | + <summary>tsconfig-file-name</summary> |
| 119 | + <p> |
| 120 | + <code>--tsconfig-file-name</code> |
| 121 | + </p> |
| 122 | + <p> |
| 123 | + The name of the TypeScript configuration file. |
| 124 | + </p> |
| 125 | +</details> |
| 126 | +<details> |
| 127 | + <summary>test-tsconfig-file-name</summary> |
| 128 | + <p> |
| 129 | + <code>--test-tsconfig-file-name</code> |
| 130 | + </p> |
| 131 | + <p> |
| 132 | + The name of the TypeScript configuration file for tests. |
| 133 | + </p> |
| 134 | +</details> |
| 135 | +<details> |
| 136 | + <summary>app-dir</summary> |
| 137 | + <p> |
| 138 | + <code>--app-dir</code> |
| 139 | + </p> |
| 140 | + <p> |
| 141 | + The name of the application directory. |
| 142 | + </p> |
| 143 | +</details> |
| 144 | +<details> |
| 145 | + <summary>root-module-file-name</summary> |
| 146 | + <p> |
| 147 | + <code>--root-module-file-name</code> |
| 148 | + </p> |
| 149 | + <p> |
| 150 | + The name of the root module file |
| 151 | + </p> |
| 152 | +</details> |
| 153 | +<details> |
| 154 | + <summary>root-module-class-name</summary> |
| 155 | + <p> |
| 156 | + <code>--root-module-class-name</code> |
| 157 | + </p> |
| 158 | + <p> |
| 159 | + The name of the root module class. |
| 160 | + </p> |
| 161 | +</details> |
| 162 | +<details> |
| 163 | + <summary>source-dir</summary> |
| 164 | + <p> |
| 165 | + <code>--source-dir</code> (alias: <code>-D</code>) |
| 166 | + </p> |
| 167 | + <p> |
| 168 | + The path of the source directory. |
| 169 | + </p> |
| 170 | +</details> |
0 commit comments