Skip to content

Commit

Permalink
Update: 禁用viewTransition功能,优化页面跳转
Browse files Browse the repository at this point in the history
  • Loading branch information
KiWi233333 committed Dec 3, 2024
1 parent 135ea8b commit 1149419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default defineNuxtConfig({
payloadExtraction: false,
renderJsonPayloads: true, //
emitRouteChunkError: false, // https://nuxt.com.cn/docs/getting-started/error-handling#js-chunk-%E9%94%99%E8%AF%AF
viewTransition: true, // 支持View Transition API Chorme111 https://blog.csdn.net/weixin_42553583/article/details/130474259
// viewTransition: true, // 支持View Transition API Chorme111 https://blog.csdn.net/weixin_42553583/article/details/130474259
crossOriginPrefetch: true, // 使用 Speculation Rules API 启用跨源预取。
},
routeRules: {
Expand Down

0 comments on commit 1149419

Please sign in to comment.