\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.",[2903,2906],{"name":2904,"color":2905},"need more info","bdbefc",{"name":2869,"color":2870},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.7941821,{"description":2913,"labels":2914,"number":2916,"owner":2872,"repository":2873,"state":2917,"title":2918,"updated_at":2919,"url":2920,"score":2921},"### Describe the bug\n\nAfter the build is complete, the command line does not exit and cannot proceed to the next command\n\n### Reproduction\n\nversion: v1.0.0-alpha.47 pnpm docs:build\n\n### Expected behavior\n\nAfter the build is complete, continue to execute and write a command\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.18363\r\n CPU: (16) x64 Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz\r\n Memory: 16.42 GB / 31.83 GB\r\n Binaries:\r\n Node: 14.19.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 6.14.16 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.18362.449.0)\r\n Internet Explorer: 11.0.18362.1\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.",[2915],{"name":2904,"color":2905},1974,"closed","Command line not exiting","2023-03-17T00:04:21Z","https://github.com/vuejs/vitepress/issues/1974",0.7118829,{"description":2923,"labels":2924,"number":2928,"owner":2872,"repository":2873,"state":2917,"title":2929,"updated_at":2930,"url":2931,"score":2932},"### Describe the bug\r\n\r\nI'm getting some errors when running `pnpm build`, I guess it's because I should somehow wrap this component causing the error in `\u003CClientOnly />`, but how should I find the exact cause from the error log? It does not provide any useful details (see below screenshot)\r\n\r\n---\r\n\r\nAnother question, as I guess my error is because of this:\r\nShould I wrap `watch()` inside `onMounted()`? or in another word, can I do it? I didn't find any corresponding example in Vue documentation... \r\nSorry if this is a dumb question, as I'm a react guy :(\r\n```vue\r\n\u003Cscript setup lang=\"ts\">\r\nimport { useLocalStorage } from '@vueuse/core';\r\nimport { watch } from 'vue';\r\n\r\nconst nfcapiEnvRef = useLocalStorage('vp-nfcapi-env', 'staging', {\r\n deep: false,\r\n listenToStorageChanges: true,\r\n writeDefaults: true\r\n});\r\n\r\nwatch(nfcapiEnvRef, (value, oldValue) => {\r\n const htmlDataSet = document.documentElement.dataset;\r\n oldValue && (htmlDataSet.nfcapiEnv = oldValue.toLowerCase());\r\n htmlDataSet.nfcapiEnv = value.toLowerCase();\r\n}, { immediate: true });\r\n\u003C/script>\r\n```\r\n\r\n---\r\n\r\nScreenshot of the error:\r\n\r\n\r\n\r\n\r\n\r\n### Reproduction\r\n\r\nThis is not a bug, but a question\r\n\r\n### Expected behavior\r\n\r\nN/A\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (16) x64 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz\r\n Memory: 30.87 GB / 63.84 GB\r\n Binaries:\r\n Node: 18.16.0 - C:\\NodeJS\\node.EXE\r\n Yarn: 1.22.19 - C:\\NodeJS\\yarn.CMD\r\n npm: 9.8.0 - C:\\NodeJS\\npm.CMD\r\n pnpm: 8.6.7 - C:\\NodeJS\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.82)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.5 => 1.0.0-beta.5\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nN/A\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.",[2925],{"name":2926,"color":2927},"question","5D5FAE",2627,"How should I trace build error?","2023-07-24T00:04:51Z","https://github.com/vuejs/vitepress/issues/2627",0.76471615,{"description":2934,"labels":2935,"number":2937,"owner":2872,"repository":2873,"state":2917,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### Is your feature request related to a problem? Please describe.\r\n\r\nI'd like to write the following code on one of my VitePress pages:\r\n\r\n```vue\r\n\u003Cscript setup>\r\nimport { useRoute } from 'vitepress';\r\nimport { watch } from 'vue';\r\n\r\nconst route = useRoute();\r\n\r\nwatch(route.query, (newQuery) => {\r\n // Do something....\r\n});\r\n\u003C/script>\r\n```\r\n\r\nHowever, the current [useRoute()](https://vitepress.dev/reference/runtime-api#useroute) object does not provide access to query parameter information.\r\n\r\n### Describe the solution you'd like\r\n\r\nI'd like to be able to access the `search` property of the current location as is possible in `vue-router`:\r\n\r\nhttps://router.vuejs.org/api/interfaces/RouteLocationNormalizedLoaded.html#query\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 [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2936],{"name":2866,"color":2867},3908,"Cannot watch for changes in route query parameters using `useRoute()`","2024-07-03T04:41:59Z","https://github.com/vuejs/vitepress/issues/3908",0.7707333,{"description":2943,"labels":2944,"number":2945,"owner":2872,"repository":2873,"state":2917,"title":2946,"updated_at":2947,"url":2948,"score":2949},"### Is your feature request related to a problem? Please describe.\r\n\r\nI want to be able to write an error message inside my code block and make it look like it's an error.\r\n\r\nCurrently, it blends with the code:\r\n\r\n\r\n\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nI'm not sure if there's a known syntax for it, but I would like the option to \"highlight\" a row as an error row:\r\n\r\n```\r\n```typescript{2:error}\r\nclient.query(sql`\r\n SELECT idd FROM comments\r\n ~~~ \u003C\u003C\u003C\u003C Invalid Query: column \"idd\" does not exist\r\n`);\r\n\r\n ```.\r\n```\r\n\r\n\r\n\r\n\r\n### Describe alternatives you've considered\r\n\r\nHaven't found any\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.vuejs.org).\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.",[],1314,"Support error lines in code blocks","2023-01-21T14:22:59Z","https://github.com/vuejs/vitepress/issues/1314",0.77100235,{"description":2951,"labels":2952,"number":2954,"owner":2872,"repository":2873,"state":2917,"title":2955,"updated_at":2956,"url":2957,"score":2958},"related https://github.com/vuejs/vitepress/issues/303\r\n\r\nAdd Home Page feature for the new default theme.\r\n\r\nPlanning to follow frontmatter definition style as same as current VitePress.",[2953],{"name":2892,"color":2893},630,"[next] Add Home Page feature","2023-01-21T16:04:22Z","https://github.com/vuejs/vitepress/issues/630",0.7738758,{"description":2960,"labels":2961,"number":2962,"owner":2872,"repository":2873,"state":2917,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### Is your feature request related to a problem? Please describe.\n\nI have some queries if I asked them under bug its not the right place, So I request you to create a new category for help required category to ask question. \n\n### Describe the solution you'd like\n\nCreate a new Category like 'Help Required' or Ask Questions, Do we have any forum or discord to ask questions ?\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.vuejs.org).\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.",[],549,"Please create a category for help required","2023-01-21T16:20:04Z","https://github.com/vuejs/vitepress/issues/549",0.77473366,["Reactive",2968],{},["Set"],["ShallowReactive",2971],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fwPb7bbvH-7u3wjI9ZzLDhhBVkqDmEYRFSg0YiB8KhRU":-1},"/vuejs/vitepress/1500"]