\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":3021,"color":3022},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.74557644,{"description":3053,"labels":3054,"number":3058,"owner":3024,"repository":3025,"state":3059,"title":3060,"updated_at":3061,"url":3062,"score":3063},"### Describe the bug\r\n\r\nI have a npm package called @declarative-gridstacks/react, it exports a bunch of react components (compiled with babel-loader obviously), I import these modules use them in vitepress it words good in dev mode... But when I actually try to build the vitepress project, it doesn't build.\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n```jsx\r\nimport {\r\n GridstackContainer,\r\n} from \"@declarative-gridstack/react\"; // This is in node_modules.\r\n\r\nconst Component = () => {\r\nreturn \u003CGridstackContainer />\r\n}\r\n\r\nexport default Component;\r\n```\r\n\r\n// Import this code in \r\n```vue\r\n\u003Cdiv ref=\"el\" />\r\n\r\n\u003Cscript setup>\r\nimport { createElement } from 'react'\r\nimport { createRoot } from 'react-dom/client'\r\nimport { ref, onMounted } from 'vue'\r\nimport Simple from '../components/simple/Simple.jsx'\r\n\r\nconst el = ref()\r\nonMounted(() => {\r\n const root = createRoot(el.value)\r\n root.render(createElement(Simple, {}, null))\r\n})\r\n\u003C/script>\r\n```\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nThe project should build... It works fine in dev mode...\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: macOS 12.5\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 1.16 GB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.20.1/bin/yarn\r\n npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm\r\n Browsers:\r\n Chrome: 115.0.5790.114\r\n Safari: 15.6\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n_No response_\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.",[3055],{"name":3056,"color":3057},"bug: pending triage","e99695",2709,"closed","Unable to build the docs project when importing a module from node_modules","2023-08-07T00:04:27Z","https://github.com/vuejs/vitepress/issues/2709",0.68132436,{"description":3065,"labels":3066,"number":3067,"owner":3024,"repository":3025,"state":3059,"title":3068,"updated_at":3069,"url":3070,"score":3071},"### Is your feature request related to a problem? Please describe.\n\nyes, sometimes code samples are too large to fit on the full screen or the size of screen the user is on\n\n### Describe the solution you'd like\n\nI'd like to allow for a button next to the copy button on code blocks that allows the user to wrap the code blocks\r\n\r\n\u003Cimg width=\"190\" alt=\"testing 2023-08-18 at 10 28 07\" src=\"https://github.com/vuejs/vitepress/assets/46639943/7e404a6c-3405-4b4c-a56a-0174c49c339f\">\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.",[],2815,"Allow wrapping of code blocks","2023-08-26T00:04:05Z","https://github.com/vuejs/vitepress/issues/2815",0.7018145,{"description":3073,"labels":3074,"number":3076,"owner":3024,"repository":3025,"state":3059,"title":3077,"updated_at":3078,"url":3079,"score":3080},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\n`markdown: {\r\n\t\ttheme: {\r\n\t\t\tlight: 'github-light',\r\n\t\t\tdark: 'github-dark',\r\n\t\t}\r\n\t},`\n\n### Expected behavior\n\n能够使用light模式\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 6.41 GB / 15.86 GB\r\n Binaries:\r\n Node: 16.17.0 - D:\\software\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - D:\\software\\nodejs\\node_global\\yarn.CMD\r\n npm: 8.18.0 - D:\\software\\nodejs\\node_global\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (105.0.1343.27)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.13 => 1.0.0-alpha.13\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.",[3075],{"name":3056,"color":3057},1312,"我配置了markdown主题,但是永远是dark模式,light无效","2023-01-21T14:26:35Z","https://github.com/vuejs/vitepress/issues/1312",0.7169276,{"description":3082,"labels":3083,"number":3085,"owner":3024,"repository":3025,"state":3059,"title":3086,"updated_at":3087,"url":3088,"score":3089},"### Describe the bug\n\n- building client + server bundles...Could not resolve './_media/ArrayList-inherit.jpg' from docs\\java\\Java基础入门\\类和实例.md\r\n✖ building client + server bundles...\r\nCould not resolve './_media/ArrayList-inherit.jpg' from docs\\java\\Java基础入门\\类和实例.md (x2)\n\n### Reproduction\n\n# markdown file path\r\ndocs/java/Java基础入门/类和实例.md\r\n\r\n# image file path\r\ndocs/java/Java基础入门/_media/ArrayList-inherit.jpg\r\n\r\n# in markdown file using\r\n``\r\n\r\nor \r\n\r\n``\r\n\r\n# then, run `yarn docs:build` building\r\ncompile error and failed\r\n```text\r\n- building client + server bundles...Could not resolve './_media/ArrayList-inherit.jpg' from docs\\java\\Java基础入门\\类和实例.md\r\n✖ building client + server bundles...\r\nCould not resolve './_media/ArrayList-inherit.jpg' from docs\\java\\Java基础入门\\类和实例.md (x2)\r\n```\r\n\r\n# other information\r\nwhen use `\u003Cimg :src=\"$withBase('./_media/ArrayList-inherit.jpg')\" alt=\"ArrayList类继承关系\" />` , no errors.\n\n### Expected behavior\n\nno errors, compile success\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz\r\n Memory: 16.46 GB / 31.85 GB\r\n Binaries:\r\n Node: 14.18.2 - E:\\apps\\node-v14\\node.EXE\r\n Yarn: 1.22.10 - E:\\apps\\node-v14\\node_global\\yarn.CMD\r\n npm: 7.20.0 - E:\\apps\\node-v14\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (98.0.1108.50)\r\n Internet Explorer: 11.0.19041.1202\r\n npmPackages:\r\n vitepress: ^0.22.2 => 0.22.2\n```\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3084],{"name":3044,"color":3045},534,"in markdown file, use image file, image file exists and path correct, but image load failed","2023-01-21T14:34:14Z","https://github.com/vuejs/vitepress/issues/534",0.72224677,{"description":3091,"labels":3092,"number":3094,"owner":3024,"repository":3025,"state":3059,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### Describe the bug\n\nWhen I tried to change the style of the `image` on the homepage, there were some situations where I encountered problems.\r\nunder Path: \r\n> .vitepress\\theme\\styles\\vars.css\r\n```css\r\n@keyframes logo-spin {\r\n from {\r\n transform: rotate(0deg);\r\n }\r\n\r\n to {\r\n transform: rotate(360deg);\r\n }\r\n}\r\n\r\n.image-src {\r\n animation: logo-spin infinite 20s linear;\r\n}\r\n```\n\n### Reproduction\n\nstackblitz : https://stackblitz.com/edit/vite-ib4s68?file=README.md\r\n\r\nrepo and explanation : https://github.com/RSS1102/vite-ib4s68\r\n\r\n\n\n### Expected behavior\n\nOn the mobile end\r\n\r\n\r\nOn the PC end\r\n\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (16) x64 AMD Ryzen 7 5800H with Radeon Graphics\r\n Memory: 2.19 GB / 13.86 GB\r\n Binaries:\r\n Node: 18.12.1 - E:\\node\\node.EXE\r\n Yarn: 1.22.19 - E:\\node\\yarn.CMD\r\n npm: 9.4.2 - E:\\node\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.39)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.64 => 1.0.0-alpha.64\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.",[3093],{"name":3056,"color":3057},2217,"[hero] : The localization problem of `image bg '","2023-04-22T00:04:15Z","https://github.com/vuejs/vitepress/issues/2217",0.72387797,{"description":3100,"labels":3101,"number":3102,"owner":3024,"repository":3025,"state":3059,"title":3103,"updated_at":3104,"url":3105,"score":3106},"This way not work for me. I got the same problem.\r\n\r\n```ts\r\nimport { defineConfig } from 'vitepress';\r\n\r\nexport default defineConfig({\r\n markdown: {\r\n headers: {\r\n level: [1, 6],\r\n },\r\n },\r\n});\r\n```\r\n\r\n_Originally posted by @brc-dd in https://github.com/vuejs/vitepress/issues/2771#issuecomment-1672749363_\r\n\r\nRepo link: https://stackblitz.com/edit/vite-ernqnb?file=docs%2Fexample.md\r\n ",[],2840,"Miss page headers using useDate","2023-09-01T00:04:35Z","https://github.com/vuejs/vitepress/issues/2840",0.7283585,{"description":3108,"labels":3109,"number":3110,"owner":3024,"repository":3025,"state":3059,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Is your feature request related to a problem? Please describe.\n\nNo. It's a new feature I want\n\n### Describe the solution you'd like\n\n```ts\r\nimport { useArticle } from 'vitepress'\r\nconst list = useArticle\r\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.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.",[],2111,"Need an API to get the list of all articles, then I can show the list at Home page or as a timeline","2023-03-28T00:04:34Z","https://github.com/vuejs/vitepress/issues/2111",0.73374695,["Reactive",3116],{},["Set"],["ShallowReactive",3119],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fHig04W4CI6vHv-riTb3ViIwIkZQu0Od_mluMD87Wx_w":-1},"/vuejs/vitepress/2726"]