\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.",[3043,3046],{"name":3044,"color":3045},"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.7841937,{"description":3053,"labels":3054,"number":3056,"owner":3033,"repository":3034,"state":3057,"title":3058,"updated_at":3059,"url":3060,"score":3061},"### 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.",[3055],{"name":3027,"color":3028},2556,"closed","页面与首页重合","2023-07-07T00:04:41Z","https://github.com/vuejs/vitepress/issues/2556",0.7633144,{"description":3063,"labels":3064,"number":3068,"owner":3033,"repository":3034,"state":3057,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### Discussed in https://github.com/vuejs/vitepress/discussions/1275\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **erondpowell** September 2, 2022\u003C/sup>\r\nIn our folder project, we are trying to use the nested sidebar feature.\r\n- Each parent is a link to a page. ex: `/configuration/data-model.md`\r\n- Each nested page is in a folder. ex: `/configuration/data-model/relationships.md`\r\n\r\nEverything works fine in dev, but on prod testing, nested links are rendered multiple times.\r\nWe are not sure if it is a misconfiguration on our end, or a bug in the sidebar:\r\nhttps://github.com/directus/docs/pull/109\r\n\r\nThanks 🙏 \u003C/div>",[3065],{"name":3066,"color":3067},"theme","0754FB",1276,"Support using links in parents of nested items","2023-01-21T14:26:41Z","https://github.com/vuejs/vitepress/issues/1276",0.77426505,{"description":3074,"labels":3075,"number":3079,"owner":3033,"repository":3034,"state":3057,"title":3080,"updated_at":3081,"url":3082,"score":3083},"### Describe the bug\n\nsee https://stackblitz.com/edit/vite-zodl7a\n\n### Reproduction\n\nsee https://stackblitz.com/edit/vite-zodl7a\n\n### Expected behavior\n\nnot crash\n\n### System Info\n\n```shell\nany\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.",[3076],{"name":3077,"color":3078},"types","0075ca",773,"preserveValueImports will efect crash","2023-01-21T14:34:06Z","https://github.com/vuejs/vitepress/issues/773",0.77647686,{"description":3085,"labels":3086,"number":3088,"owner":3033,"repository":3034,"state":3057,"title":3089,"updated_at":3090,"url":3091,"score":3092},"### Describe the bug\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n```ts\r\nexport default defineConfig({\r\n // ...\r\n sidebar: [{\r\n text: 'Recursos',\r\n collapsed: false,\r\n items: [\r\n {\r\n text: 'Máquinas virtuales',\r\n link: '/recursos/vms',\r\n },\r\n {\r\n text: 'Commons Library',\r\n link: 'https://faq.utnso.com.ar/commons'\r\n },\r\n {\r\n text: 'Linux man pages',\r\n link: 'https://man7.org/linux/man-pages/'\r\n },\r\n {\r\n text: 'Enunciado del TP',\r\n link: 'https://faq.utnso.com.ar/enunciado'\r\n },\r\n {\r\n text: 'Documento de Pruebas',\r\n link: 'https://faq.utnso.com.ar/pruebas',\r\n },\r\n {\r\n text: 'TPs Anteriores',\r\n link: '/recursos/tps-anteriores',\r\n },\r\n ]\r\n }]\r\n});\r\n```\r\n\r\n### Expected behavior\r\n\r\n\r\n\r\n\r\n### System Info\r\n\r\n```shell\r\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: 8.17 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: 109.0.1\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.47 => 1.0.0-alpha.47\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI was able to align it properly by setting:\r\n```scss\r\n.VPSidebarItem {\r\n .VPLink.link {\r\n display: flex;\r\n flex-grow: unset;\r\n }\r\n\r\n .VPLink.link svg {\r\n align-self: center;\r\n }\r\n}\r\n```\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3087],{"name":3027,"color":3028},1962,"External link icon in sidebar not aligned properly","2023-03-05T00:04:51Z","https://github.com/vuejs/vitepress/issues/1962",0.7767858,{"description":3094,"labels":3095,"number":3096,"owner":3033,"repository":3034,"state":3057,"title":3097,"updated_at":3098,"url":3099,"score":3100},"### Is your feature request related to a problem? Please describe.\n\nI recently needed to obtain an MD file from the remote end and obtain its internal string during development. I think I can directly use the capabilities of vitepress to parse this string, including the Vue component that I registered globally that can also be rendered within this string. I hope vitepress can provide a method where I can pass in a custom MD string that can parse my string into HTML, The relevant code including Vue can also be parsed and rendered within the MD string。\n\n### Describe the solution you'd like\n\nlike :\r\n```\r\n\u003CrenderFilter src=\"http:test.ver.com/assets/test.md\">\u003C/renderFilter>\r\n```\r\nor \r\n```\r\n\u003CrenderFilter src=\"./test.md\">\u003C/renderFilter>\r\n```\r\nor \r\n```\r\n\u003CrenderFilter src=\"this is a `test` dec !\">\u003C/renderFilter>\r\n```\r\n\r\nand if test.md has vue it can be render like :\r\n// test.md\r\n```\r\n# this is title \r\n\r\n\u003CmyGlobalComponents>\u003C/myGlobalComponents>\r\n\r\n{{ title }}\r\n\r\n\u003Csrcipt setup>\r\nimport { ref } from 'vue'\r\nconst title = ref('test')\r\n\u003C/script>\r\n```\n\n### Describe alternatives you've considered\n\nIf this feature is implemented, it would be too cool!!!\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.",[],2603,"render my .md string","2023-09-02T00:04:08Z","https://github.com/vuejs/vitepress/issues/2603",0.78178364,{"description":3102,"labels":3103,"number":3107,"owner":3033,"repository":3034,"state":3057,"title":3108,"updated_at":3109,"url":3110,"score":3111},"### 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.",[3104],{"name":3105,"color":3106},"question","5D5FAE",414,"有中文文档吗","2023-01-21T16:20:24Z","https://github.com/vuejs/vitepress/issues/414",0.78216755,{"description":3113,"labels":3114,"number":3117,"owner":3033,"repository":3034,"state":3057,"title":3118,"updated_at":3119,"url":3120,"score":3121},"### Describe the bug\r\n\r\nSetting the base path on GitHub pages does not update the path for logo\r\n\r\n### Reproduction\r\n\r\n1. Create a new app\r\n2. Set the `base` path to something eg: `/hello/`\r\n3. Set your logo to `/logo.\u003Cext>`\r\n\r\nHere is what I have - https://github.com/akshaybabloo/dotfiles/tree/main/docs\r\n\r\n### Expected behavior\r\n\r\nThe path after generation should be `\u003Culr>/hello/logo.\u003Cext>` but it generates `\u003Curl>/logo.\u003Cext>`\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz\r\n Memory: 18.87 GB / 31.07 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 20.5.1 - ~/.nvm/versions/node/v20.5.1/bin/node\r\n Yarn: 1.22.19 - ~/.npm-global/bin/yarn\r\n npm: 9.8.0 - ~/.nvm/versions/node/v20.5.1/bin/npm\r\n Browsers:\r\n Brave Browser: 117.1.58.127\r\n Chrome: 117.0.5938.88\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.12 => 1.0.0-rc.14\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI am using Bun as my package manager.\r\n\r\n### Validations\r\n\r\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3115,3116],{"name":3027,"color":3028},{"name":3030,"color":3031},2981,"Setting base path doesn't set logo path","2024-01-29T00:04:27Z","https://github.com/vuejs/vitepress/issues/2981",0.7831184,{"description":3123,"labels":3124,"number":3126,"owner":3033,"repository":3034,"state":3057,"title":3127,"updated_at":3128,"url":3129,"score":3130},"### Describe the bug\n\nI have the following snippet:\r\n\r\n```rs\r\nfn main() {\r\n // #region ipsum\r\n println!(\"Lorem ipsum\");\r\n // #endregion ipsum\r\n}\r\n```\r\n\r\nI am importing it with the syntax:\r\n\r\n```md\r\n\u003C\u003C\u003C@/snippets/lorem.rs#ipsum\r\n```\r\n\r\nThe rendered result:\r\n\r\n```rs\r\n println!(\"Lorem ipsum\");\r\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-skqr7n\n\n### Expected behavior\n\nExpected to see:\r\n\r\n```rs\r\nprintln!(\"Lorem ipsum\");\r\n```\r\n\r\nand not\r\n\r\n```rs\r\n println!(\"Lorem ipsum\");\r\n```\r\n\n\n### System Info\n\n```shell\nN/A\n```\n\n\n### Additional context\n\nI've almost created a PR with fix & tests.\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.",[3125],{"name":3027,"color":3028},1686,"`dedent` in Snippet Markdown Plugin doesn't work for a single-line region","2023-01-21T14:17:00Z","https://github.com/vuejs/vitepress/issues/1686",0.7857535,["Reactive",3132],{},["Set"],["ShallowReactive",3135],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f73Fr1lAqDUQW1ZWELPYDKe6Uf3wsggVUQzsQM0sd11U":-1},"/vuejs/vitepress/4269"]