\r\n \u003Ckey id=\"that\" to=\"ថា\" />\r\n \u003C/keys>\r\n\r\n \u003Clayers form=\"hardware\">\r\n \u003Clayer id=\"base\">\r\n \u003Crow keys=\"hmaqtugha that\" />\r\n \u003C/layer>\r\n \u003C/layers>\r\n\r\n\u003C/keyboard>\r\n```\r\n\r\nSymptom is an error deep inside vue\r\n\r\n```\r\n5:26:34 PM [vitepress] Internal server error: Duplicate attribute.\r\n Plugin: vite:vue\r\n File: /Users/srl295/src/codehivetx.us/en/posts/2022-kbd-progress.md:22:69\r\n 22 | \u003Ckeys>\r\n 23 | \u003Ckey id=\"hmaqtugha\" to=\"ħ\" />\r\n 24 | \u003Ckey id=\"that\" to=\"ថា\" />\r\n | ^\r\n 25 | \u003C/keys>\r\n 26 | \r\n at createCompilerError (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:1327:17)\r\n at emitError (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2805:5)\r\n at Object.onattribnameend (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2290:7)\r\n at Tokenizer.handleAttrNameEnd (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:872:14)\r\n at Tokenizer.stateInAttrName (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:812:12)\r\n at Tokenizer.parse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:1065:16)\r\n at Object.baseParse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-core/dist/compiler-core.cjs.js:2844:13)\r\n at Object.parse (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.js:698:23)\r\n at Object.parse$2 [as parse] (/Users/srl295/src/codehivetx.us/node_modules/@vue/compiler-sfc/dist/compiler-sfc.cjs.js:1846:24)\r\n at createDescriptor (file:///Users/srl295/src/codehivetx.us/node_modules/@vitejs/plugin-vue/dist/index.mjs:74:43) (x2)\r\n```\r\n",[2878,2881],{"name":2879,"color":2880},"build","377ba8",{"name":2882,"color":2883},"stale","ededed",3401,"better stack trace / error message for markdown-it-attrs failures","2025-03-02T18:10:00Z","https://github.com/vuejs/vitepress/issues/3401",0.77317345,{"description":2890,"labels":2891,"number":2894,"owner":2868,"repository":2869,"state":2870,"title":2895,"updated_at":2896,"url":2897,"score":2898},"### Describe the bug\r\n\r\nwhen using a `[slug].md` and `[slug].paths.js` file for dynamic routes the `[slug].paths.js` file doesnt seem to get access to the magic `resolve.alias[\"alias-goes-here\"] = \"/the/actual/file.js\"` stuff.\r\n\r\n### Reproduction\r\n\r\nhttps://stackblitz.com/edit/vite-lt2rg5?file=docs%2F.vitepress%2Fconfig.ts,docs%2F.vitepress%2Fhello.js,docs%2F[slug].paths.js\r\n\r\n```js\r\n vite: {\r\n clearScreen: false,\r\n resolve: {\r\n alias: {\r\n '~hello': fileURLToPath(new URL('./hello.js', import.meta.url)),\r\n },\r\n },\r\n },\r\n```\r\n\r\n```js\r\nimport hello from '~hello';\r\n\r\nexport default {\r\n paths() {\r\n return [{ params: { slug: hello } }];\r\n },\r\n};\r\n```\r\n\r\n```sh\r\nfailed to load config from /home/projects/vite-lt2rg5/docs/[slug].paths.js\r\nInvalid paths file export in /home/projects/vite-lt2rg5/docs/[slug].paths.js. Expects default export of an object with a \"paths\" property.\r\n```\r\n\r\nif i remove the `import hello from \"~hello\"` line the error goes away\r\n```js\r\n// import hello from '~hello';\r\n\r\nexport default {\r\n paths() {\r\n return [{ params: { slug: 'hello' } }];\r\n },\r\n};\r\n```\r\n\r\n### Expected behavior\r\n\r\ni should be able to `import hello from \"~hello\"` and have it work, right?\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (4) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.18.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.4.2 - /usr/local/bin/npm\r\n pnpm: 8.9.2 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: latest => 1.0.0-rc.23\r\n```\r\n\r\n\r\n### Additional context\r\n\r\n\r\n\r\n\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.",[2892,2893],{"name":2879,"color":2880},{"name":2882,"color":2883},3125,"custom resolve alias not available in .paths.js file","2025-03-02T18:10:30Z","https://github.com/vuejs/vitepress/issues/3125",0.77470607,{"description":2900,"labels":2901,"number":2906,"owner":2868,"repository":2869,"state":2870,"title":2907,"updated_at":2908,"url":2909,"score":2910},"### Is your feature request related to a problem? Please describe.\r\n\r\nNow `footer` and `sidebar` cannot be used at the same time. We hope they can appear at the same time. \r\n\r\n\r\n### Describe the solution you'd like\r\n\r\n- footer and sidebar can used at the same time\r\n\r\n### Describe alternatives you've considered\r\n\r\nIf allowed, maybe I can provide a PR?\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.",[2902,2905],{"name":2903,"color":2904},"theme","0754FB",{"name":2882,"color":2883},1037,"Allow footer compatible with sidebar","2025-03-22T14:05:50Z","https://github.com/vuejs/vitepress/issues/1037",0.7802749,{"description":2912,"labels":2913,"number":2917,"owner":2868,"repository":2869,"state":2918,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Describe the bug\r\n\r\nFrom the documentation it is not clear how to escape `]` inside a `::code-group`.\r\n\r\n\r\n\r\n### Reproduction\r\n\r\n````\r\n::code-group\r\n```ts \"[server/api/trpc/[trpc].ts]\"\r\n// some code\r\n```\r\n````\r\n\r\nFilename gets cut off:\r\n\r\n\u003Cimg width=\"215\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/649392/09407eb8-df3a-4489-ba43-522162c00ab7\">\r\n\r\n\r\n### Expected behavior\r\n\r\nI expect to be able to escape `]` with `\\]`.\r\n\r\nOr maybe only end the file name parsing when `]` is the last character of the line.\r\n\r\n### System Info\r\n\r\n```sh\r\nN/A\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.",[2914],{"name":2915,"color":2916},"bug: pending triage","e99695",2775,"closed","Escape character for ] inside ::code-group filename","2023-08-18T00:04:07Z","https://github.com/vuejs/vitepress/issues/2775",0.72314036,{"description":2924,"labels":2925,"number":2930,"owner":2868,"repository":2869,"state":2918,"title":2931,"updated_at":2932,"url":2933,"score":2934},"### 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/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.",[2926,2929],{"name":2927,"color":2928},"docs","0075ca",{"name":2882,"color":2883},1285,"Chinese Version Document","2024-01-11T00:04:45Z","https://github.com/vuejs/vitepress/issues/1285",0.74602115,{"description":2936,"labels":2937,"number":2939,"owner":2868,"repository":2869,"state":2918,"title":2940,"updated_at":2941,"url":2942,"score":2943},"### Describe the bug\n\nAdd `esc to close` entry on search footer, pressing `esc` close the search dialog\n\n### Reproduction\n\nhttps://unocss.dev/\n\n### Expected behavior\n\nJust add the entry to the footer.\n\n### System Info\n\n```shell\nNA\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":2915,"color":2916},2231,"Local search: add `esc to close` entry on search footer","2023-04-24T00:04:07Z","https://github.com/vuejs/vitepress/issues/2231",0.7580686,{"description":2945,"labels":2946,"number":2948,"owner":2868,"repository":2869,"state":2918,"title":2949,"updated_at":2950,"url":2951,"score":2952},"### Describe the bug\r\n\r\n[plugin:vite:vue] Element is missing end tag.\r\nC:/..../vitepress/docs/react/index.md:4684:30\r\n4682| import { makeAutoObservable } from \"mobx\"\r\n4683| \r\n4684| function createDoubler(value) {\r\n | ^\r\n4685| return makeAutoObservable({\r\n4686| value,\r\n at createCompilerError (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:18:17)\r\n at emitError (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1487:5)\r\n at parseElement (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1031:5)\r\n at parseChildren (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:844:18)\r\n at parseElement (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1008:20)\r\n at parseChildren (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:844:18)\r\n at parseElement (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1008:20)\r\n at parseChildren (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:844:18)\r\n at parseElement (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:1008:20)\r\n at parseChildren (C:\\...\\vitepress\\node_modules\\@vue\\compiler-core\\dist\\compiler-core.cjs.js:844:18\r\nClick outside, press Esc key, or fix the code to dismiss.\r\nYou can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.\r\n\r\n### Reproduction\r\n\r\ntitle: react\r\nlink: /react/index\r\n\r\nAfter connecting the md file with link, click to jump to the page corresponding to the md file, and the error occurs. Is the md file written non-standard?\r\n\r\n### Expected behavior\r\n\r\nHow can I fix this problem?\r\n\r\n### System Info\r\n\r\n```sh\r\nbrowsers\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.",[2947],{"name":2915,"color":2916},2707,"[plugin:vite:vue] Element is missing end tag.","2023-08-07T00:04:28Z","https://github.com/vuejs/vitepress/issues/2707",0.76276845,{"description":2954,"labels":2955,"number":2956,"owner":2868,"repository":2869,"state":2918,"title":2957,"updated_at":2958,"url":2959,"score":2960}," Change `import 'uno.css';` to `import 'unocss';`.\r\n\r\n_Originally posted by @kiaking in https://github.com/vuejs/vitepress/issues/1917#issuecomment-1425090440_\r\n\r\nunocss does not take effect even after it is introduced\r\n\u003Cimg width=\"1060\" alt=\"image\" src=\"https://user-images.githubusercontent.com/39174971/260728813-28ffc44b-f297-4a06-b8b5-187ad048bdd8.png\">\r\n\r\n ",[],2792,"Change `import 'uno.css';` to `import 'unocss';`.","2023-08-23T00:04:07Z","https://github.com/vuejs/vitepress/issues/2792",0.7693697,{"description":2962,"labels":2963,"number":2965,"owner":2868,"repository":2869,"state":2918,"title":2966,"updated_at":2967,"url":2968,"score":2969},"### Describe the bug\n\n\r\n\r\n\n\n### Reproduction\n\n1\n\n### Expected behavior\n\n1\n\n### System Info\n\n```shell\n1\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.",[2964],{"name":2915,"color":2916},1818,"markdown parse bug","2023-01-28T00:04:04Z","https://github.com/vuejs/vitepress/issues/1818",0.76940936,["Reactive",2971],{},["Set"],["ShallowReactive",2974],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fv6lgFJuDawpZVBgBQ_xaCZSSw1tlaboQ1w-WIWlAr2M":-1},"/vuejs/vitepress/2647"]