Scully just finds, one route not others,
Hello, please provide further information in order to help you :
Closing due to inactivity
Hi, I'm facing the same issue. The way I'm using it is according to getting started page https://scully.io/docs/getting-started/.
Here is my AppRoutingModule
```
const routes: Routes = [
{ path: '', loadChildren: () => import('./home/home.module').then(m => m.HomeModule) },
{ path: 'docs', loadChildren: () => import('./docs/docs.module').then(m => m.DocsModule) },
];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
````
and this is my scully config
import { ScullyConfig } from '@scullyio/scully';
export const config: ScullyConfig = {
projectRoot: './src',
projectName: 'TestScully',
outDir: './dist/static',
routes: {
docs: {
type: 'default'
}
}
};
However, there is only one route showing in scully-routes.json and im not able to access /docs page.
Can you reopen this issue? Or briefly guide us through this?
Did you add the second route later on? did you try running npm run scully -- --scanRoutes?
Thank you @SanderElias! it works!
Most helpful comment
Did you add the second route later on? did you try running
npm run scully -- --scanRoutes?