Describe the bug
When I generate a page, the route to the page is inserted incorrectly into the app-routing.module.ts array of routes. There is a syntax error. E.g., I just generated a page with name personen-table, and this is what I got:
As a result, there also is an error during generation Could not format apps/platform-web/src/app/app-routing.module.ts. Error: "Property assignment expected."
To Reproduce
Run nx generate page.
Expected behavior
The routes are modified correctly.
Describe the bug When I generate a page, the route to the page is inserted incorrectly into the
app-routing.module.ts
array of routes. There is a syntax error. E.g., I just generated a page with namepersonen-table
, and this is what I got:As a result, there also is an error during generation
Could not format apps/platform-web/src/app/app-routing.module.ts. Error: "Property assignment expected."
To Reproduce Run
nx generate page
.Expected behavior The routes are modified correctly.