\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.",[3168,3171],{"name":3169,"color":3170},"need more info","bdbefc",{"name":3155,"color":3156},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.7537474,{"description":3178,"labels":3179,"number":3181,"owner":3158,"repository":3159,"state":3160,"title":3182,"updated_at":3183,"url":3184,"score":3185},"### Describe the bug\n\n如果关闭mpa模式,打包后的最后更新时间是展示的;\n但是开启mpa模式,dev模式是展示最后更新时间的,build后的产物用preview命令无法看到时间。 \n\n### Reproduction\n\n开启mpa配置。\nnpm run build\nnpm run preview查看页面。\nLast updated: label后面不展示时间。\n\n### Expected behavior\n\n正常展示\n\n### System Info\n\n```Text\n无\n```\n\n### Additional context\n\n最新版本\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.",[3180],{"name":3152,"color":3153},4902,"mpa模式下最后更新时间不生效","2025-08-11T04:00:47Z","https://github.com/vuejs/vitepress/issues/4902",0.755627,{"description":3187,"labels":3188,"number":3189,"owner":3158,"repository":3159,"state":3190,"title":3191,"updated_at":3192,"url":3193,"score":3194},"### Describe the bug\n\nSetting 'auto' to a sidebar property in config.js does not create automatic sidebar elements.\n\n### Reproduction\n\n```\r\n sidebar: {\r\n '/projects/': 'auto',\r\n }\r\n```\n\n### Expected behavior\n\n A sidebar should be auto generated using the headings provided in the markdown files for the projects page\n\n### System Info\n\n```Text\nvitepress version: 1.0.2\r\nvite version: 1.0.0\r\nNode version: v21.6.1\r\nOS version: Windows 11 Pro 23H2\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.",[],3755,"closed","Automatic Headings in Sidebar","2024-04-28T12:24:54Z","https://github.com/vuejs/vitepress/issues/3755",0.7085974,{"description":3196,"labels":3197,"number":3201,"owner":3158,"repository":3159,"state":3190,"title":3202,"updated_at":3203,"url":3204,"score":3205},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nhttps://github.com/meedfine/server-fs-allow.git\r\ntest win10,win11, it happened\r\n\r\n1. pnpm run docs\r\n2. visit http://localhost:5173/\r\n3.close\r\n4. pnpm run docs\r\nthen will happen,or retry 3,4\r\n\r\n\r\nhttps://user-images.githubusercontent.com/35157761/201807046-c6e534ae-722a-4149-86f0-aab839296381.mp4\r\n\r\n\n\n### Expected behavior\n\nwork well\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19043\r\n CPU: (4) x64 Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz\r\n Memory: 9.72 GB / 15.87 GB\r\n Binaries:\r\n Node: 16.14.2 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 8.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 78.0.3904.108\r\n Edge: Spartan (44.19041.1266.0), Chromium (107.0.1418.42)\r\n Internet Explorer: 11.0.19041.1566\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.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3198],{"name":3199,"color":3200},"build","377ba8",1608,"mono+dev+enhanceApp+fs.server.strict: sometimes run error","2023-01-21T14:20:33Z","https://github.com/vuejs/vitepress/issues/1608",0.7333571,{"description":3207,"labels":3208,"number":3210,"owner":3158,"repository":3159,"state":3190,"title":3211,"updated_at":3212,"url":3213,"score":3214},"### Describe the bug\n\n只是开启本地搜索未做任何更改\r\n\r\n\r\n\n\n### Reproduction\n\n\n\n### Expected behavior\n\n\n\n### System Info\n\n```shell\n\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.",[3209],{"name":3152,"color":3153},2287,"貌似从7.3开始本地搜索报错","2023-05-05T00:04:14Z","https://github.com/vuejs/vitepress/issues/2287",0.7335104,{"description":3216,"labels":3217,"number":3219,"owner":3158,"repository":3159,"state":3190,"title":3220,"updated_at":3221,"url":3222,"score":3223},"### Describe the bug\n\nSeems like it's possible to import code snippets inside code groups, but their titles can't be modified.\n\n### Reproduction\n\nFolder structure:\r\n\r\n```\r\ndocs/snippets\r\n├── foo.sh\r\n└── bar.sh\r\n```\r\n\r\n\r\n```\r\n::: code-group\r\n\r\n\u003C\u003C\u003C @/snippets/foo.sh\r\n\r\n\u003C\u003C\u003C @/snippets/bar.sh [title]\r\n\r\n:::\r\n\r\n```\r\n\r\n\r\n\r\n\r\n\n\n### Expected behavior\n\n\r\n\r\n\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 6.0 Pop!_OS 22.04 LTS\r\n CPU: (8) x64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz\r\n Memory: 7.33 GB / 15.41 GB\r\n Container: Yes\r\n Shell: 5.8.1 - /usr/bin/zsh\r\n Binaries:\r\n Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.14.0/bin/yarn\r\n npm: 8.3.1 - ~/.nvm/versions/node/v16.14.0/bin/npm\r\n Browsers:\r\n Firefox: 108.0\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.36 => 1.0.0-alpha.36\n```\n\n\n### Additional context\n\nRelated to https://github.com/vuejs/vitepress/pull/1560#issuecomment-1356501687\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3218],{"name":3152,"color":3153},1785,"Can't change title of code snippets inside code groups","2023-02-22T00:04:44Z","https://github.com/vuejs/vitepress/issues/1785",0.7419922,{"description":3225,"labels":3226,"number":3228,"owner":3158,"repository":3159,"state":3190,"title":3229,"updated_at":3230,"url":3231,"score":3232},"### Describe the bug\n\nfollow up to #2612\n\n### Reproduction\n\ndiscussed in #2612\n\n### Expected behavior\n\nclearer instructions\n\n### System Info\n\n```sh\nnpm 8.19.4\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.",[3227],{"name":3152,"color":3153},2781,"follow up to #2612 - missing documentation information","2023-08-21T00:04:10Z","https://github.com/vuejs/vitepress/issues/2781",0.7505524,{"description":3234,"labels":3235,"number":3239,"owner":3158,"repository":3159,"state":3190,"title":3240,"updated_at":3241,"url":3242,"score":3243},"### Is your feature request related to a problem? Please describe.\r\n\r\nConveniently use content-adaptive layout in components on the home page\r\n\r\n### Describe the solution you'd like\r\n\r\n`.vitepress/theme/index.ts`:\r\n```ts\r\nimport HomePage from './component/HomePage'\r\n\r\nexport default {\r\n Layout: () => {\r\n return h(Theme.Layout, null, {\r\n 'home-features-after': () => h(HomePage),\r\n })\r\n },\r\n```\r\n\r\n---\r\n\r\n`HomePage.vue`:\r\n\r\n```html\r\n\u003Cscript setup lang=\"ts\">\r\nimport{ VPHomeContent } from 'vitepress/theme'\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n\t\u003CVPHomeContent>\r\n\t\t\u003C!-- my custom content -->\r\n\t\u003C/VPHomeContent>\r\n\u003C/template>\r\n```\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.dev).\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.",[3236],{"name":3237,"color":3238},"contribution welcome","11E4B8",3954,"[New feature] export `VPHomeContent` to provide content-adaptive layout","2024-06-22T04:41:46Z","https://github.com/vuejs/vitepress/issues/3954",0.7506269,{"description":3245,"labels":3246,"number":3250,"owner":3158,"repository":3159,"state":3190,"title":3251,"updated_at":3252,"url":3253,"score":3254},"### 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.",[3247],{"name":3248,"color":3249},"question","5D5FAE",414,"有中文文档吗","2023-01-21T16:20:24Z","https://github.com/vuejs/vitepress/issues/414",0.7521554,["Reactive",3256],{},["Set"],["ShallowReactive",3259],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$foNYX8e9KmMcmVWDOmkBWV8ggpd7PoEItxhJN4oaQwEk":-1},"/vuejs/vitepress/3908"]