You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> NOTE: refer to https://nx.dev/web/getting-started/getting-started on how to get up and running quickly with an Nx workspace.
44
+
> NOTE: because the @nrwl/schematics have been installed the above command works, if you have issues with this command not working properly or would rather not install the Nrwl shcematics globally please refer to https://nx.dev/web/getting-started/getting-started for further instruction.
45
+
46
+
After the workspace is created you will need to cd into the app directory `cd angular-core-workshop` and install the Nrwl Angular schematic:
43
47
44
-
**NOTE: If you start from the `01-getting-started` branch, the above command was already ran and was used to generate the starting respository.**
48
+
```
49
+
ng add @nrwl/angular
50
+
```
45
51
46
52
The next step is to generate an app in your workspace. Do so by running:
47
53
48
54
```
49
-
ng generate app dashboard
55
+
ng generate @nrwl/angular:application dashboard
50
56
```
51
57
52
58
You'll then be prompted to answer a few setup questions. Run the following for each question:
53
59
60
+
`Which stylesheet format would you like to use?` SASS(.scss)
54
61
55
-
` In which directory should the application be generated? ` apps
62
+
`Would you like to configure routing for this application?` y
56
63
57
-
` Would you like to add Angular routing?` y
64
+
Lastly, please install the npm dependencies by running:
58
65
59
-
` Which stylesheet format would you like to use?` y
66
+
```
67
+
npm install
68
+
```
69
+
Then run the application:
60
70
61
-
` Which Unit Test Runner would you like to use for the application? ` Karma
71
+
```
72
+
npm run start
73
+
```
62
74
63
-
` Which E2E Test Runner would you like to use for the application? ` Protractor
75
+
Navigate to `localhost:4200` and you should see this:
64
76
65
-
` Which tags would you like to add to the application? (used for linting)`
77
+

66
78
67
-
Lastly, please install the npm dependencies by running:
0 commit comments