\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.",[2879,2882],{"name":2880,"color":2881},"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.75788957,{"description":2889,"labels":2890,"number":2891,"owner":2869,"repository":2870,"state":2892,"title":2893,"updated_at":2894,"url":2895,"score":2896},"### 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,"closed","Allow wrapping of code blocks","2023-08-26T00:04:05Z","https://github.com/vuejs/vitepress/issues/2815",0.6772467,{"description":2898,"labels":2899,"number":2903,"owner":2869,"repository":2870,"state":2892,"title":2904,"updated_at":2905,"url":2906,"score":2907},"### Describe the bug\n\nMany doc pages are now inaccessible.\r\n\r\nFor example:\r\n\r\nhttps://vitepress.vuejs.org/config/theme-config\r\nhttps://vitepress.vuejs.org/guide/theme-team-page\r\n\r\nIf you search for \"Team\", none of the links work.\n\n### Reproduction\n\nSearch for team and click a link.\n\n### Expected behavior\n\nPage should exist.\n\n### System Info\n\n```shell\nChrome browser\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.",[2900],{"name":2901,"color":2902},"bug: pending triage","e99695",2045,"Latest release caused many 404 errors in the docs","2023-03-16T00:04:27Z","https://github.com/vuejs/vitepress/issues/2045",0.72360665,{"description":2909,"labels":2910,"number":2914,"owner":2869,"repository":2870,"state":2892,"title":2915,"updated_at":2916,"url":2917,"score":2918},"### Is your feature request related to a problem? Please describe.\n\nUsing rewrites, it's not possible to map multiple URLs to a single Markdown document.\n\n### Describe the solution you'd like\n\nImplement mapping multiple URLs to the same Markdown file.\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.",[2911],{"name":2912,"color":2913},"has-workaround","1B4515",4394,"Implement mapping multiple URLs to the same Markdown file.","2024-12-07T04:44:12Z","https://github.com/vuejs/vitepress/issues/4394",0.73008335,{"description":2920,"labels":2921,"number":2922,"owner":2869,"repository":2870,"state":2892,"title":2923,"updated_at":2924,"url":2925,"score":2926},"### Is your feature request related to a problem? Please describe.\n\n当sidebar配置因为文件目录较多时,sidebar会被打包进入所有页面的HTML中,这将导致__VP_HASH_MAP__过大。\n\n### Describe the solution you'd like\n\n希望根据目录配置sidebar,打包时,仅引入目录下的sidebar配置文件,避免注入到所有页面的__VP_HASH_MAP__中\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.",[],3933,"sidebar配置需要优化","2024-07-05T04:42:41Z","https://github.com/vuejs/vitepress/issues/3933",0.73616225,{"description":2928,"labels":2929,"number":2934,"owner":2869,"repository":2870,"state":2892,"title":2935,"updated_at":2936,"url":2937,"score":2938},"Currently there are lot of repeated icons in generated dist/**/*.html files. Those can be avoided by these.",[2930,2931],{"name":2866,"color":2867},{"name":2932,"color":2933},"perf","378A61",3399,"Switch to CSS icons or SVG sprites","2024-02-25T00:05:04Z","https://github.com/vuejs/vitepress/issues/3399",0.7370295,{"description":2940,"labels":2941,"number":2942,"owner":2869,"repository":2870,"state":2892,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Describe the bug\r\n\r\nWhen setting some `base`, the links given by the new local search (by @Akryum) are wrong.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-p7s8di?file=docs/.vitepress/config.ts\r\n\r\n### Expected behavior\r\n\r\nFor instance, if I have a base `/docs/` and I want to go to `example.md`. If I search for \"example\", instead of going to `/docs/example`, it goes to `/docs/docs/example`\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (12) x64 AMD Ryzen 5 3600XT 6-Core Processor\r\n Memory: 16.93 GB / 31.93 GB\r\n Binaries:\r\n Node: 18.15.0 - ~\\AppData\\Local\\fnm_multishells\\19660_1681579277222\\node.EXE\r\n npm: 9.5.0 - ~\\AppData\\Local\\fnm_multishells\\19660_1681579277222\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.46)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.66 => 1.0.0-alpha.66\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] 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.",[],2221,"Wrong links in searches when using `base`","2023-04-23T00:04:12Z","https://github.com/vuejs/vitepress/issues/2221",0.73811287,{"description":2948,"labels":2949,"number":2953,"owner":2869,"repository":2870,"state":2892,"title":2954,"updated_at":2955,"url":2956,"score":2957},"### Describe the bug\n\n访问一个软连接内的目录, 会导致页面显示404。\r\n点击时有两个返回, 一个返回是正常的文件。 但是contetn-type: text/markdown\r\n另一个是 hashmap.json 404\n\n### Reproduction\n\n软连接目录文件(windows);软链接使用的是:\r\n\r\nmklink /j \"D:\\pro\\doc\\my-docs\\docs\\xx \"D:\\pro\\xxx\\xx\"\r\n\r\n生成的目录\n\n### Expected behavior\n\n能够正常的返回并显示\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz\r\n Memory: 3.55 GB / 15.86 GB\r\n Binaries:\r\n Node: 16.17.1 - D:\\dev\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - D:\\dev\\nodejs\\yarn.CMD\r\n npm: 8.15.0 - D:\\dev\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.42)\r\n Internet Explorer: 11.0.19041.1566\n```\n\n\n### Additional context\n\n\r\n\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.",[2950],{"name":2951,"color":2952},"build","377ba8",1496,"allow using symlinks with pages","2023-08-20T00:04:18Z","https://github.com/vuejs/vitepress/issues/1496",0.74200886,{"description":2959,"labels":2960,"number":2961,"owner":2869,"repository":2870,"state":2892,"title":2962,"updated_at":2963,"url":2964,"score":2965},"### Is your feature request related to a problem? Please describe.\n\nI don't know if there's an already existing solution, but I try to rename a file according to the parent's folder\n\n### Describe the solution you'd like\n\nHere is an example:\r\n`/foo/bar/bar.md -> /foo/bar/index.md`\n\n### Describe alternatives you've considered\n\nI tried to create rewrite rules, something like that:\r\n`\":dir/:dir.md\": \":dir/index.md\"`\r\n\r\nBut it's not working\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.",[],3453,"Rename file that match parent folder name","2024-01-23T00:04:55Z","https://github.com/vuejs/vitepress/issues/3453",0.74563706,["Reactive",2967],{},["Set"],["ShallowReactive",2970],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ft3TpVVlACWfpuX4Wbw6aV0Y06uXHp-tv5eQNwKNxBPQ":-1},"/vuejs/vitepress/3681"]