\u003C!-- result: \u003Cdiv a=\"1\" b=\"2\">\u003C/div> -->\n\u003Cdiv t-att=\"['a', 'b']\"/> \u003C!-- \u003Cdiv a=\"b\">\u003C/div> -->\n```\nmd文档中有以上内容则会报错\n\n\n\n### Describe the solution you'd like\n\n要通过怎么样的配置可以让其支持OdooOWL的Qweb语法\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.",[],4823,"无法解析OdooOWL中的Qweb语法","2025-07-03T09:43:57Z","https://github.com/vuejs/vitepress/issues/4823",0.71896195,{"description":3066,"labels":3067,"number":3068,"owner":3030,"repository":3031,"state":3052,"title":3069,"updated_at":3070,"url":3071,"score":3072},"### Is your feature request related to a problem? Please describe.\n\n我的域名是www.liuguisheng.vip,但是部署完成后重定向到了http://www.liuguisheng.vip/qisi007.github.io/,之前用vuepress搭建的没出现这个问题\n\n### Describe the solution you'd like\n\n我想要我的主页地址是www.liuguisheng.vip\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.",[],2910,"为什么部署完我的博客域名重定向到 一个新的地址","2023-09-14T00:04:15Z","https://github.com/vuejs/vitepress/issues/2910",0.73266065,{"description":3074,"labels":3075,"number":3076,"owner":3030,"repository":3031,"state":3052,"title":3077,"updated_at":3078,"url":3079,"score":3080},"### Is your feature request related to a problem? Please describe.\n\nThis was an existing feature:\r\n\r\n- https://github.com/vuejs/vitepress/issues/334\r\n\r\nIt was really useful for generated doc pages like APIs that shouldn't be modified manually\n\n### Describe the solution you'd like\n\n- See https://github.com/vuejs/vitepress/issues/334\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.",[],1516,"Support `editLink` per page","2023-01-21T14:23:06Z","https://github.com/vuejs/vitepress/issues/1516",0.7347816,{"description":3082,"labels":3083,"number":3084,"owner":3030,"repository":3031,"state":3052,"title":3085,"updated_at":3086,"url":3087,"score":3088},"### Is your feature request related to a problem? Please describe.\r\n\r\n\"Previous page\" and \"Next page\" may need translation to other language.\r\n\r\nAt this point we one can configure \"On this page\" (with `outlineTitle`), but not yet \"Previous page\" and \"Next page\".\r\n\r\nPossibly `previousPageTitle` and `nextPageTitle` are needed.\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nAs in https://github.com/vuejs/vitepress/issues/689#issuecomment-1144611412\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\nIssue discussed at https://github.com/vuejs/vitepress/issues/689 with making \"On this page\" text configurable, but closed without going forward.\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.",[],1883,"Translate Previous page and Next page (make the text configurable)","2023-02-10T00:04:36Z","https://github.com/vuejs/vitepress/issues/1883",0.7358197,{"description":3090,"labels":3091,"number":3092,"owner":3030,"repository":3031,"state":3052,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Is your feature request related to a problem? Please describe.\n\ndist中的构建产生的html文件中的```__VP_HASH_MAP__``` 顺序不定,哪怕对md文件不进行任何修改,导致只要重新build一次就会使dist中的大量文件发生改动。\r\n\r\n另外,如果有一个md文件发生改动,就会导致构建生成的所有html中的```__VP_HASH_MAP__``` 中的hash码变化。这会导致几乎所有文件都发生了改动。\r\n\r\n我不清楚 vitepress中 **最后更新时间** 是否是按照文件最后一次改动时间算的,目前的问题是只要改一个文件所有文件的最后更新时间都会更新为最新的这个时间。感觉有很大概率是和上面描述的```__VP_HASH_MAP__``` 有关。\r\n\r\n\r\n我的思路是:\r\n\r\n改了一个md文件并重新构建 -> 所有md文件生成的html中的```__VP_HASH_MAP__``` 发生了变化,导致所有html文件都发生了更改 -> 文件最后更改时间全部更新为此时此刻\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.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.",[],2303,"最后更新时间始终为最后一次提交的时间","2023-05-05T00:04:12Z","https://github.com/vuejs/vitepress/issues/2303",0.73716706,{"description":3098,"labels":3099,"number":3100,"owner":3030,"repository":3031,"state":3052,"title":3101,"updated_at":3102,"url":3103,"score":3104},"### Is your feature request related to a problem? Please describe.\n\n```txt\r\ndocs/\r\n├─ en/\r\n│ ├─ foo.md\r\n├─ zh/\r\n│ ├─ foo.md\r\n├─ fr/\r\n ├─ foo.md\r\n```\r\n\r\n对于以上多语言结构,默认路由为:`/en/` `/zh/` `/fr/`,没办法设置 `/` 默认语言展示。\n\n### Describe the solution you'd like\n\n设置 `/` 默认展示语言,或者将 `/` 路由重定向到默认语言路由 `/zh/`\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.",[],2948,"多语言情况下设置默认语言","2023-09-20T00:04:18Z","https://github.com/vuejs/vitepress/issues/2948",0.73832756,{"description":3106,"labels":3107,"number":3111,"owner":3030,"repository":3031,"state":3052,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### Describe the bug\n\nIn a standard Vue project build output correctly lazy‐loads only the Shiki chunks required (e.g., `@shikijs/langs/vue` and `@shikijs/themes/material-theme-ocean`). \nHowever when the same code runs in a VitePress site (built with `pnpm docs:build`) the page is fetching **every** Shiki language and theme chunk up front. This results in dozens of unnecessary HTTP requests and significantly slows down page load. The expected on-demand loading behavior is not happening in the VitePress build.\n\n### Reproduction\n\nPrepared reproduction can be found here:\nhttps://github.com/alexchexes/vitepress-shiki-test\n\nSteps:\n1. `pnpm create vue@latest`\n2. `pnpm add -D vitepress` and `npx vitepress init`, default settings\n3. `pnpm add shiki`\n4. Put this code into a `.vue` file:\n```vue\n\u003Cscript setup lang=\"ts\">\nimport { onMounted, ref } from 'vue'\nimport { codeToHtml } from 'shiki'\n\nconst html = ref()\n\nonMounted(async () => {\n const code = '\u003Cdiv attr=\"123\" />'\n\n html.value = await codeToHtml(code, {\n lang: 'vue',\n theme: 'material-theme-ocean',\n })\n})\n\u003C/script>\n\n\u003Ctemplate>\n \u003Cdiv v-html=\"html\">\u003C/div>\n\u003C/template>\n```\n5. Put this code into a `.md` file:\n```md\n---\nlayout: page\nsidebar: false\n---\n\n\u003Cscript setup>\nimport CustomComponent from './CustomComponent.vue'\n\u003C/script>\n\n\u003CCustomComponent />\n```\n5. `pnpm build && pnpm docs:build`\n6. `pnpm preview`\n - Open the page where the Shiki is used.\n - Open DevTools → Network tab.\n - Notice that only the Vue grammar and material-theme-ocean chunks are fetched. This is correct. ✅\n7. `pnpm docs:preview`\n- Open the page where the Shiki is used.\n- Open DevTools → Network tab.\n- Notice that all Shiki languages and themes (even those not in use) are fetched at page load. This is incorrect. ❌\n\n### Expected behavior\n\nWhen building VitePress production site with `pnpm docs:build`, the output should behave like a standard Vue production build (`pnpm build`) when using libraries such as Shiki: the production page should not fetch every chunk up front at page load; it should only fetch the chunks when they are needed.\n\n### System Info\n\n```Text\nSystem:\n OS: Windows 11 10.0.26100\n CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H\n Memory: 33.51 GB / 63.67 GB\n Binaries:\n Node: 22.11.0 - C:\\Program Files\\nodejs\\node.EXE\n Yarn: 1.22.22 - ~\\AppData\\Roaming\\npm\\yarn.CMD\n npm: 11.4.1 - C:\\Program Files\\nodejs\\npm.CMD\n pnpm: 10.11.0 - ~\\AppData\\Local\\pnpm\\pnpm.EXE\n Browsers:\n Edge: Chromium (130.0.2849.80)\n npmPackages:\n vitepress: ^1.6.3 => 1.6.3\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.",[3108],{"name":3109,"color":3110},"bug: pending triage","e99695",4770,"VitePress build eagerly loads all Shiki chunks instead of lazy-loading only what's needed","2025-06-03T04:11:18Z","https://github.com/vuejs/vitepress/issues/4770",0.743096,["Reactive",3117],{},["Set"],["ShallowReactive",3120],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fMMdtcDwDkORi6sMO5cTehd0yFB5F3nKeLDQ3fOIjNHI":-1},"/vuejs/vitepress/3006"]