假设我们定义了以下路由:
const routes: Routes = [
{
path: '',
component: WelcomeComponent
},
{
path: 'start',
component: StartComponent
}
Run Code Online (Sandbox Code Playgroud)
有没有办法告诉 Scully 跳过生成路由的静态页面start?
当我创建 Angular 应用程序并尝试添加 Scully 进行 SEO 静态时,它只是默默地失败了,而没有创建:
我使用了 Scully 文档中的命令: https://scully.io/docs/learn/overview/
添加@scullyio/init