标签: scullyio

告诉 Scully 忽略路由的静态页面生成?

假设我们定义了以下路由:

const routes: Routes = [
  {
    path: '',
    component: WelcomeComponent
  },  
  {
    path: 'start',
    component: StartComponent
  }

Run Code Online (Sandbox Code Playgroud)

有没有办法告诉 Scully 跳过生成路由的静态页面start

seo typescript angular angular-ivy scullyio

2
推荐指数
1
解决办法
774
查看次数

找不到 scully 配置文件 scully.undefined.config.ts 路径“/scully.undefined.config.ts”不存在

当我创建 Angular 应用程序并尝试添加 Scully 进行 SEO 静态时,它只是默默地失败了,而没有创建:

  • scully.my-blog{{此处为您的博客名称}}.config.ts
  • 应用程序根目录中的 scully 文件夹包含 tsconfig.json ,plugins 文件夹包含 plugin.ts 文件

我使用了 Scully 文档中的命令: https://scully.io/docs/learn/overview/

添加@scullyio/init

typescript angular angular-scully scully scullyio

0
推荐指数
1
解决办法
1769
查看次数