Skip to content

增加 /test 测试页面 - #1

Draft
ouzhou wants to merge 1 commit into
mainfrom
cursor/add-test-page-2651
Draft

增加 /test 测试页面#1
ouzhou wants to merge 1 commit into
mainfrom
cursor/add-test-page-2651

Conversation

@ouzhou

@ouzhou ouzhou commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • 新增 /test 路由页面,内含简单中文占位文案
  • main.tsx 基于 pathname 切换首页与 TestPage(未引入额外路由依赖)
  • 添加 vercel.json SPA rewrite,确保部署后直接访问 /test 可用

Test plan

  • pnpm run build 通过
  • pnpm run lint 通过
  • 本地 pnpm dev 访问 /test 可见测试文案
  • 点击「返回首页」可回到主页面
Open in Web Open in Cursor 

Route /test to a lightweight TestPage via pathname check, and
add Vercel SPA rewrites so the path works after deploy.

Co-authored-by: ouzz <ouzhou@users.noreply.github.com>
@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
img-pixel-motion Ready Ready Preview, Comment Jul 14, 2026 3:24am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants