\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.",[2888,2891],{"name":2889,"color":2890},"need more info","bdbefc",{"name":2866,"color":2867},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":2898,"labels":2899,"number":2903,"owner":2869,"repository":2870,"state":2904,"title":2905,"updated_at":2906,"url":2907,"score":2908},"### 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.",[2900],{"name":2901,"color":2902},"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":2910,"labels":2911,"number":2912,"owner":2869,"repository":2870,"state":2904,"title":2913,"updated_at":2914,"url":2915,"score":2916},"### 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":2918,"labels":2919,"number":2921,"owner":2869,"repository":2870,"state":2904,"title":2922,"updated_at":2923,"url":2924,"score":2925},"### 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.",[2920],{"name":2901,"color":2902},1312,"我配置了markdown主题,但是永远是dark模式,light无效","2023-01-21T14:26:35Z","https://github.com/vuejs/vitepress/issues/1312",0.7169276,{"description":2927,"labels":2928,"number":2930,"owner":2869,"repository":2870,"state":2904,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### 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.",[2929],{"name":2889,"color":2890},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":2936,"labels":2937,"number":2939,"owner":2869,"repository":2870,"state":2904,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### 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.",[2938],{"name":2901,"color":2902},2217,"[hero] : The localization problem of `image bg '","2023-04-22T00:04:15Z","https://github.com/vuejs/vitepress/issues/2217",0.72387797,{"description":2945,"labels":2946,"number":2947,"owner":2869,"repository":2870,"state":2904,"title":2948,"updated_at":2949,"url":2950,"score":2951},"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":2953,"labels":2954,"number":2955,"owner":2869,"repository":2870,"state":2904,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### 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",2961],{},["Set"],["ShallowReactive",2964],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fHig04W4CI6vHv-riTb3ViIwIkZQu0Od_mluMD87Wx_w":-1},"/vuejs/vitepress/2726"]