\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.",[3048,3051],{"name":3049,"color":3050},"need more info","bdbefc",{"name":3026,"color":3027},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.7782841,{"description":3058,"labels":3059,"number":3062,"owner":3029,"repository":3030,"state":3031,"title":3063,"updated_at":3064,"url":3065,"score":3066},"### 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.",[3060,3061],{"name":3049,"color":3050},{"name":3026,"color":3027},4346,"navbar 如何自定义按钮?","2024-12-27T13:10:26Z","https://github.com/vuejs/vitepress/issues/4346",0.79336864,{"description":3068,"labels":3069,"number":3070,"owner":3029,"repository":3030,"state":3071,"title":3072,"updated_at":3073,"url":3074,"score":3075},"### Is your feature request related to a problem? Please describe.\n\nHey! With a very large sidebar, navigation becomes inconvenient.\r\n\r\n\n\n### Describe the solution you'd like\n\nNeed to be able to collapse subcategories. As an option, add the ability to use the collapsible and collapsed tags included in subitems.\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.",[],1493,"closed","Ability to collapse subcategories in the sidebar","2023-01-21T14:23:12Z","https://github.com/vuejs/vitepress/issues/1493",0.7129482,{"description":3077,"labels":3078,"number":3079,"owner":3029,"repository":3030,"state":3071,"title":3080,"updated_at":3081,"url":3082,"score":3083},"### Is your feature request related to a problem? Please describe.\r\n\r\n[According to the documentation](https://vitepress.vuejs.org/guide/theme-introduction.html#extending-the-default-theme), it seems there is no slot like before or after document content.\r\n\r\nI just want to add global components such as `search box` or `breadcrumbs` on top of every document.\r\n\r\nThere is an option that I can add `\u003Cbread-crumbs />` to every `.md` documents. However, I think this is not a proper way to do it as it's used in every documents.\r\n\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nAdding a slot before or after the document content.\r\n\r\n`\u003Ctemplate #doc-before>\u003C/template>`\r\n`\u003Ctemplate #doc-after>\u003C/template>`\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[],762,"Slot for top or bottom of document","2023-01-21T14:34:09Z","https://github.com/vuejs/vitepress/issues/762",0.7603931,{"description":3085,"labels":3086,"number":3087,"owner":3029,"repository":3030,"state":3071,"title":3088,"updated_at":3089,"url":3090,"score":3091},"**Is your feature request related to a problem? Please describe.**\r\nCurrently, when sidebar is open, we can only close it by clicking the hamburger menu. We should also make it closable by clicking outside of the sidebar.\r\n\r\n**Describe the solution you'd like**\r\nWe should also make it closable by clicking outside of the sidebar.\r\n\r\n**Describe alternatives you've considered**\r\nNone\r\n\r\n**Additional context**\r\nNone\r\n",[],76,"Close the sidebar when clicking outside of the sidebar","2023-01-21T16:25:33Z","https://github.com/vuejs/vitepress/issues/76",0.7612601,{"description":3093,"labels":3094,"number":3095,"owner":3029,"repository":3030,"state":3071,"title":3096,"updated_at":3097,"url":3098,"score":3099},"### Describe the bug\n\nI don't even know what exactly is happening here, but the breadcrumbs in the local search are not correct here.\r\n\r\n\r\n\n\n### Reproduction\n\nCreate example page and search for `Foo`.\r\n\r\n```\r\n## Foo\r\n\r\nHello world\r\n\r\n#### Bar\r\n\r\nHello world\r\n\r\n## Baz\r\n\r\nHello world\r\n```\n\n### Expected behavior\n\nBreadcrumbs should only show titles of the own hierarchy.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 16.14.2 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 7.17.0 - /usr/local/bin/npm\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.69 => 1.0.0-alpha.69\n```\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],2238,"Incorrect breadcrumbs in local search","2023-04-24T00:04:04Z","https://github.com/vuejs/vitepress/issues/2238",0.76818496,{"description":3101,"labels":3102,"number":3104,"owner":3029,"repository":3030,"state":3071,"title":3105,"updated_at":3106,"url":3107,"score":3108},"### 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.",[3103],{"name":3049,"color":3050},815,"请问如何为页脚(footer)添加链接?国内工信部要求","2023-01-21T14:30:16Z","https://github.com/vuejs/vitepress/issues/815",0.7843489,{"description":3110,"labels":3111,"number":3113,"owner":3029,"repository":3030,"state":3071,"title":3114,"updated_at":3115,"url":3116,"score":3117},"### Describe the bug\n\nnode:v16.13.2\r\nvitepress: v1.0.0-rc.4\r\nvant: ~3.4.9\r\nvite ^4.4.9\r\n执行`vitepress build docs`报以下错误\r\n\r\n\n\n### Reproduction\n\n// .vitepress config.ts\r\nimport { defineConfig } from 'vitepress'\r\nimport { mdPlugin } from './config/plugins'\r\nimport sidebars from \"./sidebar\"\r\n\r\nexport default defineConfig({\r\n title: \"chuxin-ui-mobile\",\r\n // description: \"A VitePress Site\",\r\n ignoreDeadLinks: true,\r\n base: \"/cx-mobile-ui-docs/\",\r\n head: [\r\n [\r\n \"link\",\r\n { rel: \"icon\", href: \"/images/logo.png\" }\r\n ]\r\n ],\r\n themeConfig: {\r\n logo: \"/images/logo.png\",\r\n nav: [\r\n { text: '首页', link: '/' },\r\n { text: '组件', link: '/components/install', activeMatch: '/components/' },\r\n { text: '指南', link: '/development/directoryIntroduction' }\r\n ],\r\n sidebar: {\r\n \"/\": sidebars\r\n },\r\n socialLinks: [\r\n { icon: 'github', link: 'https://github.com/vuejs/vitepress' }\r\n ]\r\n },\r\n markdown: {\r\n headers: {\r\n level: [0, 0],\r\n },\r\n theme: { light: 'github-light', dark: 'github-dark' },\r\n config: (md) => mdPlugin(md),\r\n }\r\n})\r\n\n\n### Expected behavior\n\n`vitepress build docs` 可以build成功\n\n### System Info\n\n```sh\n无\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.",[3112],{"name":3049,"color":3050},2800,"Vitepress build vant error","2023-08-23T07:56:40Z","https://github.com/vuejs/vitepress/issues/2800",0.78569895,["Reactive",3119],{},["Set"],["ShallowReactive",3122],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fuOFs7cZmRf5A3jLmpgPs6s2s-_FNq9W2gvztdqIYkA4":-1},"/vuejs/vitepress/3230"]