-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
22 lines (15 loc) · 914 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1. created this ws
npx create-nx-workspace --preset=apps
2. add angular support:
npm install -D @nrwl/angular
3. add mfe host
nx g @nrwl/angular:host home --directory=mfe --style=scss --skipTests=true --unitTestRunner none --e2eTestRunner none --skipFormat
4. add sample app
nx g @nrwl/angular:app sample --style=scss --skipTests=true --unitTestRunner none --e2eTestRunner none
5. add mfe remote
nx g @nrwl/angular:remote kitchen --directory=mfe --host=mfe-home --style=scss --skipTests=true --unitTestRunner none --e2eTestRunner none --skipFormat
PROBLEMS:
1. apps/sample/project.json path to schema is incorrect ... should be '../../node_modules...'
2. even though i had option --skipFormat, it reformatted apps/sample/project.json (broke out separate line for each item within [])
3. apps/mfe/home/src/app/app.routes.ts failed to write trailing ] for Routes array, so does not compile
see screenshots