\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.",[3182,3185],{"name":3183,"color":3184},"need more info","bdbefc",{"name":3163,"color":3164},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":3192,"labels":3193,"number":3196,"owner":3146,"repository":3147,"state":3148,"title":3197,"updated_at":3198,"url":3199,"score":3200},"### 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.",[3194,3195],{"name":3183,"color":3184},{"name":3163,"color":3164},4346,"navbar 如何自定义按钮?","2024-12-27T13:10:26Z","https://github.com/vuejs/vitepress/issues/4346",0.79336864,{"description":3202,"labels":3203,"number":3204,"owner":3146,"repository":3147,"state":3205,"title":3206,"updated_at":3207,"url":3208,"score":3209},"### 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":3211,"labels":3212,"number":3213,"owner":3146,"repository":3147,"state":3205,"title":3214,"updated_at":3215,"url":3216,"score":3217},"### 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":3219,"labels":3220,"number":3221,"owner":3146,"repository":3147,"state":3205,"title":3222,"updated_at":3223,"url":3224,"score":3225},"**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":3227,"labels":3228,"number":3229,"owner":3146,"repository":3147,"state":3205,"title":3230,"updated_at":3231,"url":3232,"score":3233},"### 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":3235,"labels":3236,"number":3238,"owner":3146,"repository":3147,"state":3205,"title":3239,"updated_at":3240,"url":3241,"score":3242},"### 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.",[3237],{"name":3183,"color":3184},815,"请问如何为页脚(footer)添加链接?国内工信部要求","2023-01-21T14:30:16Z","https://github.com/vuejs/vitepress/issues/815",0.7843489,["Reactive",3244],{},["Set"],["ShallowReactive",3247],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fuOFs7cZmRf5A3jLmpgPs6s2s-_FNq9W2gvztdqIYkA4":-1},"/vuejs/vitepress/3230"]