Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

预渲染能否支持配置需要的页面 #6365

Open
xmsz opened this issue Jul 4, 2023 · 1 comment
Open

预渲染能否支持配置需要的页面 #6365

xmsz opened this issue Jul 4, 2023 · 1 comment
Assignees
Labels

Comments

@xmsz
Copy link

xmsz commented Jul 4, 2023

Summary | 概述

No response

Motivation | 背景

  • 有个后台项目
  • 包含一个产品首页
  • 产品首页希望静态化,以便SEO

但是现在

  • 如果配置了预渲染,则所有页面都会进行预渲染
  • 并且会改动原有的处理方式

Usage example | 使用示例

支持指定某些页面进行预渲染

Detailed design | 方案设计

ssg : ['/home']

Additional context | 额外信息

No response

@ClarkXia
Copy link
Collaborator

ClarkXia commented Jul 4, 2023

Relate to #5550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants