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
Description:
I'm generating module with --routing option.
If I generate child page to this module, routing.module.ts is marked as updated but in fact it is not.
Steps to Reproduce:
ionic start errorgene blank cd errorgene ionic g module todos --routing ionic g page todos/todos-list
Output:
For the following command ionic g page todos/todos-list
@hugoblanc I'm having the same problem. I did some tests and I believe it's some parser validation, because when my array is empty it's not added, but when I put any object in the array, the path is added. For example:
Description:
I'm generating module with --routing option.
If I generate child page to this module, routing.module.ts is marked as updated but in fact it is not.
Steps to Reproduce:
ionic start errorgene blank
cd errorgene
ionic g module todos --routing
ionic g page todos/todos-list
Output:
For the following command
ionic g page todos/todos-list
but todos-routing.module.ts is not updated
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [];
@NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class TodosRoutingModule { }
My
ionic info
:The text was updated successfully, but these errors were encountered: