Open vimalraj-a opened 6 years ago
@vimalraj-a Are you seeing multiple project menus? Each of these projects should have its own set of menus. Also please verify that the tsconfig files are present in these folders.
@agiledigits I don't see project menu. see the screenshot below
Project level tsconfig file names are suffixed with
.lib.json
eg:tsconfig.lib.ts
Are these tsconfig files in angular.json file, too? Could you import this repo and see if it looks OK? https://github.com/nrwl/nx-examples
Same for nx-example repo. Can't see projects menu
In my local nx workspace, library projects don't have build step. So, no tsconfig file mentioned for those projects. basically they are lazy loaded by angular.
Application project resolves the lazy loaded projects by adding path in include section of tsconfig.json Ref: https://nrwl.io/nx/guide-nx-workspace (Creating a lib section )
Application tsconfig file:
I bet these libs would show up if you put a tsconfig file in them. They might be lazy loaded at runtime just fine, but the static analysis tool would need to have a tsconfig file to start with.
I have converted angular cli project to nx workspace and angular cli able to build the app perfectly. But, Angular copilot not showing me the those modules.
Angular JSON:
Route screen: