\r\n\r\nbut in Layout.vue it uses Header and Header uses themeConfig that is a Symbol: \r\n```vue\r\n// Layout.vue\r\n\u003Ctemplate>\r\n \u003CHeader :nav=\"Navlist\">\u003C/Header>\r\n\u003C/template>\r\n\r\n\u003Cscript setup lang=\"ts\">\r\nimport Header from \"../header/index.vue\";\r\n\u003C/script>\r\n// Header.vue\r\n\u003Cscript setup lang=\"ts\">\r\nimport { inject, computed } from \"vue\";\r\nimport { themeConfig } from \"../../compositions/configProvider\"; // Notice this line\r\n\r\nconst theme = inject(themeConfig)!; // Notice this line\r\n```\r\nIn Header.vue, themeConfig exists in myTheme/src/compositions/configProvider.ts, \r\nbut in .vitepress/cache/deps/myTheme.js, it also exits a themeConfig.\r\ntwo themeConfig, two Symbol.\r\n***In the result***, provide/inject is fail.\r\n\r\n\r\nIn development this is bad, in production, the configProvider module is not extracted, the themeConfig variable is unique.\n\n### Reproduction\n\nas mentioned earlier\n\n### Expected behavior\n\nIn development, some es module that come from node_modules ain't extracted, the variable don't be duplicated.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22000\r\n Binaries:\r\n Node: 18.16.0\r\n pnpm: 8.6.0\r\n npmPackages:\r\n vitepress: 1.0.0-rc.31\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3055,3058],{"name":3056,"color":3057},"need more info","bdbefc",{"name":3030,"color":3031},3292,"Theme is made into npm package, if use the theme, Symbol is duplicated in dev.","2024-03-07T11:19:22Z","https://github.com/vuejs/vitepress/issues/3292",0.76424205,{"description":3065,"labels":3066,"number":3069,"owner":3033,"repository":3034,"state":3035,"title":3070,"updated_at":3071,"url":3072,"score":3073},"### Is your feature request related to a problem? Please describe.\n\nno\n\n### Describe the solution you'd like\n\nnavbar 自定义按钮\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3067,3068],{"name":3056,"color":3057},{"name":3030,"color":3031},4346,"navbar 如何自定义按钮?","2024-12-27T13:10:26Z","https://github.com/vuejs/vitepress/issues/4346",0.77135056,{"description":3075,"labels":3076,"number":3080,"owner":3033,"repository":3034,"state":3081,"title":3082,"updated_at":3083,"url":3084,"score":3085},"### Describe the bug\n\n\r\n复现方式,在服务器部署后,访问具体的某一个子菜单后,鼠标选中浏览器地址,按下enter键。就会导致如图效果,首页会和选中页面重合\n\n### Reproduction\n\n在服务器部署后,访问具体的某一个子菜单后,鼠标选中浏览器地址,按下enter键\r\n例如 :\r\n我已经定位到这个具体的菜单 : http://127.0.0.1:80/demo/specify01\r\n\r\n当我在浏览器地址栏使用鼠标选中地址栏并且按下enter键的时候,就会出现上面的情况\n\n### Expected behavior\n\n我希望我在定位到具体的菜单后,在浏览器快速访问时,会帮我定位到具体的菜单,而不是和首页重合\n\n### System Info\n\n```sh\n1.0.0-beta.3\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3077],{"name":3078,"color":3079},"bug: pending triage","e99695",2556,"closed","页面与首页重合","2023-07-07T00:04:41Z","https://github.com/vuejs/vitepress/issues/2556",0.7526675,{"description":3087,"labels":3088,"number":3090,"owner":3033,"repository":3034,"state":3081,"title":3091,"updated_at":3092,"url":3093,"score":3094},"### Describe the bug\n\nAfter 070fc0a (?), sidebar no longer works after being linked to a heading\r\nRemoving inert in devtool fixes it\n\n### Reproduction\n\nBe linked to a header which opens a new page\r\nTry to use sidebar\n\n### Expected behavior\n\nSidebar should obviously work\n\n### System Info\n\n```Text\n❯ npx envinfo --system --npmPackages vitepress --binaries --browsers\r\n\r\n System:\r\n OS: Windows 10 10.0.23541\r\n CPU: (16) x64 AMD Ryzen 7 7800X3D 8-Core Processor\r\n Memory: 16.94 GB / 31.73 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 9.5.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.7.0 - C:\\Program Files\\WinGet\\Links\\pnpm.EXE\r\n Browsers:\r\n Edge: Spartan (44.23541.1000.0), Chromium (117.0.2045.21)\r\n Internet Explorer: 11.0.23541.1000\n```\n\n\n### Additional context\n\nIt works as normal if you click a header etc while on a page, but being freshly linked does not\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3089],{"name":3078,"color":3079},2936,"Sidebar doesn't work after inert","2023-09-21T00:04:14Z","https://github.com/vuejs/vitepress/issues/2936",0.7588187,{"description":3096,"labels":3097,"number":3102,"owner":3033,"repository":3034,"state":3081,"title":3103,"updated_at":3104,"url":3105,"score":3106},"Currently there are lot of repeated icons in generated dist/**/*.html files. Those can be avoided by these.",[3098,3099],{"name":3030,"color":3031},{"name":3100,"color":3101},"perf","378A61",3399,"Switch to CSS icons or SVG sprites","2024-02-25T00:05:04Z","https://github.com/vuejs/vitepress/issues/3399",0.76126325,{"description":3108,"labels":3109,"number":3111,"owner":3033,"repository":3034,"state":3081,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### Is your feature request related to a problem? Please describe.\n\n国内要部署网站必须要在网站首页底部添加工信部的连接\n\n### Describe the solution you'd like\n\n希望提供一个简单的添加方式\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[3110],{"name":3056,"color":3057},815,"请问如何为页脚(footer)添加链接?国内工信部要求","2023-01-21T14:30:16Z","https://github.com/vuejs/vitepress/issues/815",0.7678637,{"description":3117,"labels":3118,"number":3122,"owner":3033,"repository":3034,"state":3081,"title":3123,"updated_at":3124,"url":3125,"score":3126},"### Is your feature request related to a problem? Please describe.\n\n有中文文档吗\n\n### Describe the solution you'd like\n\n有中文文档吗\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\n- [X] Read the [docs](https://vitepress.vuejs.org/).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/master/.github/contributing.md).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3119],{"name":3120,"color":3121},"question","5D5FAE",414,"有中文文档吗","2023-01-21T16:20:24Z","https://github.com/vuejs/vitepress/issues/414",0.77648133,{"description":3128,"labels":3129,"number":3130,"owner":3033,"repository":3034,"state":3081,"title":3131,"updated_at":3132,"url":3133,"score":3134},"### Is your feature request related to a problem? Please describe.\n\n希望增加一个换算器就是类似于wetab上面的那种,功能比较多\r\n\r\n\r\n\n\n### Describe the solution you'd like\n\n希望增加一个换算器就是类似于wetab上面的那种,功能比较多 \n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],3670,"希望增加一个换算器","2024-04-28T12:27:43Z","https://github.com/vuejs/vitepress/issues/3670",0.7804614,["Reactive",3136],{},["Set"],["ShallowReactive",3139],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fA7kIpjzexe1IzxJVTOFm6kAPJlUKjRjfo9NIwYgLnAo":-1},"/vuejs/vitepress/2654"]