Open ytattn009 opened 3 months ago
Please provide a minimal reproducible example using https://vitepress.new or a github repository. There is a likely a circular reference.
Please provide a minimal reproducible example using https://vitepress.new or a github repository. There is a likely a circular reference.
you can start a new project
npm i vitepress
npm vitepress init
open config.mts, add nav items. nav: [ { text: 'Home', link: '/' }, { text: 'Examples', items: [ { text: 'Examples`', link: '/' }] } ],
npm run docs:build
npm run docs:preview
npm i vitepress
npm vitepress init
open config.mts, add nav items. nav: [ { text: 'Home', link: '/' }, { text: 'Examples', items: [ { text: 'Examples`', link: '/' }] } ],
npm run docs:build
npm run docs:preview
There isn't any such error with the steps you mentioned. Please create a repo with that content and share a link here.
Describe the bug
项目打包部署后导航菜单不可用,控制台报错 framework.D6fyXT9h.js:13 Uncaught ReferenceError: Cannot access 'B' before initialization at Qr (framework.D6fyXT9h.js:13:5534) at theme.C-4cHeO8.js:1:460
Reproduction
项目打包部署后导航菜单不可用,控制台报错 framework.D6fyXT9h.js:13 Uncaught ReferenceError: Cannot access 'B' before initialization at Qr (framework.D6fyXT9h.js:13:5534) at theme.C-4cHeO8.js:1:460
Expected behavior
项目打包部署后导航菜单不可用,控制台报错 framework.D6fyXT9h.js:13 Uncaught ReferenceError: Cannot access 'B' before initialization at Qr (framework.D6fyXT9h.js:13:5534) at theme.C-4cHeO8.js:1:460
System Info
Additional context
No response
Validations