\r\n \u003Cbr />\r\n \u003Cdiv id=\"disqus_thread\">\u003C/div>\r\n \u003C/template>\r\n \u003C/Layout>\r\n\u003C/template>\r\n```\r\n2. 修改了`docs/.vitepress/theme/index.ts`; 2. Modified `docs/.vitepress/theme/index.ts`\r\n```ts\r\nimport DefaultTheme from 'vitepress/theme';\r\n\r\nimport Discussion from '../../components/Discussion.vue';\r\n\r\nexport default {\r\n ...DefaultTheme,\r\n Layout: Discussion,\r\n};\r\n```\n\n### Expected behavior\n\nvitepress 能够正常的和Disqus合并,并在生产环境正常工作\r\nVitepress can merge with Disqus normally and work normally in production environment.\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.5\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 1.38 GB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.16.0 - ~/Library/pnpm/node\r\n npm: 9.5.1 - ~/Library/pnpm/npm\r\n pnpm: 8.6.3 - ~/Library/pnpm/pnpm\r\n Browsers:\r\n Chrome: 115.0.5790.170\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.4 => 1.0.0-rc.4\n```\n\n\n### Additional context\n\ngithub 提示我日志太长,我将日志分享到了谷歌网盘,地址:https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\r\n\r\nGithub prompted me that the log was too long, and I shared the log to Google disk at https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\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.",[2906],{"name":2895,"color":2896},2824,"Compilation failed after merging vitepress and Disqus, request help","2023-08-29T00:04:21Z","https://github.com/vuejs/vitepress/issues/2824",0.6542344,{"description":2913,"labels":2914,"number":2918,"owner":2869,"repository":2870,"state":2898,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Describe the bug\n\n单击 AntDesignVue Pagination 组件某页进行切换时,会导致当前页面会滚动到 Top。\n\n### Reproduction\n\n后排查发现 \\\u003Ca rel=\"nofollow\"> 这种也会起到锚链接的作用。但在其他非 vitepress 的 SPA 页面中使用,却不会有这个影响。我不太理解。\n\n### Expected behavior\n\n消除 \\\u003Ca rel=\"nofollow\"> 本不该有的 锚链接影响。\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 14.5\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 2.63 GB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node\r\n Yarn: 1.22.22 - /usr/local/bin/yarn\r\n npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm\r\n pnpm: 9.2.0 - /usr/local/bin/pnpm\r\n bun: 1.1.12 - /usr/local/bin/bun\r\n Browsers:\r\n Chrome: 125.0.6422.142\r\n Safari: 17.5\r\n npmPackages:\r\n vitepress: ^1.2.3 => 1.2.3\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.",[2915],{"name":2916,"color":2917},"client","1AA9E5",3950,"使用 AntDesignVue Pagination 组件中,发现单击某个页数切换,会导致页面会回滚到 Top","2024-06-17T04:43:00Z","https://github.com/vuejs/vitepress/issues/3950",0.6601203,{"description":2924,"labels":2925,"number":2926,"owner":2869,"repository":2870,"state":2898,"title":2927,"updated_at":2928,"url":2929,"score":2930},"### Is your feature request related to a problem? Please describe.\n\nLet's say we got a folder structure like this:\r\n\r\n\r\n└─ foo\r\n ├─ 1.0.0.md\r\n ├─ 2.0.0.md\r\n └─ 3.0.0.md\r\n\r\nRight now we would have routes like:\r\n `/foo/1.0.0.html`\r\n `/foo/2.0.0.html`\r\n `/foo/3.0.0.html`\r\n\r\nI'd like to also have a route or alias like the following: `/foo/latest` which will point to the latest version (this can all be determined on build time by looking at the file, I already have a function that gives me the latest \"route\", in this case `/foo/3.0.0.html`.\r\n\r\nHow can I make this `/foo/latest` route exist and be an alias to the one I wanted?\n\n### Describe the solution you'd like\n\nAllow us to define route aliases or redirects\n\n### Describe alternatives you've considered\n\nI've tried with rewrites but that allowed me to make the latest version redirected to /latest instead. I want the reverse.\n\n### Additional context\n\nIf this is not something you think vitepress should have because it's not SSG friendly (there is no latest.html file) then I understand.\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.",[],2922,"Route Alias or Redirect","2023-09-16T00:04:02Z","https://github.com/vuejs/vitepress/issues/2922",0.6608624,{"description":2932,"labels":2933,"number":2935,"owner":2869,"repository":2870,"state":2898,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Describe the bug\n\nWhen I run `pnpm run docs`:\r\n\r\n1. When I use `lineNumbers: true` in docs/.vitepress/config.ts, an error thows when visiting page `http://localhost:5173/guide/getting-started`: \r\n```\r\n[plugin:vitepress] lines.at is not a function\r\n```\r\n\r\n2. An error thows when visiting page `http://localhost:5173/guide/markdown`:\r\n```\r\n[plugin:vitepress] filename.split(...).at is not a function\r\n```\r\n\r\nAccording to [MDN](https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Array/at), `Array.prototype.at()` gets full support since Node.js 16.6.0. This is the reason why erros throw out.\n\n### Reproduction\n\n1. run `pnpm run docs`\r\n2. visiting page `http://localhost:5173/guide/getting-started`\r\n3. visiting page `http://localhost:5173/guide/markdown`\n\n### Expected behavior\n\nNo errors throw out.\n\n### System Info\n\n```shell\nWin10, Chrome.\r\nNode.js 14.20.0(\u003C 16.6.0)\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.",[2934],{"name":2895,"color":2896},1976,"Array.prototype.at() throws error in low version Node.js(\u003C16.6.0)","2023-03-02T00:04:32Z","https://github.com/vuejs/vitepress/issues/1976",0.6630175,{"description":2941,"labels":2942,"number":2943,"owner":2869,"repository":2870,"state":2898,"title":2944,"updated_at":2945,"url":2946,"score":2947},"### Is your feature request related to a problem? Please describe.\n\nemmmm, now on the official website of vitepress.dev, after clicking search and entering some keywords, no more than 5 results are always returned. Now I need to view more results, such as 20 or 50, what should I do? Hope to get a reply, thank you\r\n\r\n\n\n### Describe the solution you'd like\n\nNow I need to view more results, such as 20 or 50, what should I do?\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.",[],3088,"How to display results for more than 5 items using Algolia search?","2023-10-22T00:04:50Z","https://github.com/vuejs/vitepress/issues/3088",0.6742291,{"description":2949,"labels":2950,"number":2951,"owner":2869,"repository":2870,"state":2898,"title":2952,"updated_at":2953,"url":2954,"score":2955},"Does anyone know how to integrate `tailwindcss` with `vitepress v1.0` ?\n\nThe tuts available online seem to be out of date with v1.0\n\nPerhaps a good idea to include a section in the docs for future releases.\n\nAny help is much appreciated!!\n\n",[],3786,"Tailwindcss Support","2024-04-27T10:01:59Z","https://github.com/vuejs/vitepress/issues/3786",0.6802275,{"description":2957,"labels":2958,"number":2963,"owner":2869,"repository":2870,"state":2898,"title":2964,"updated_at":2965,"url":2966,"score":2967},"### Describe the bug\n\nWhen sidebar is not present, the page is not scrolled and outline is scrolled down, it overflows the navbar.\r\n\r\n \r\n\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-v81ufa\r\n\r\n1. Make sure width is high enough so that outline is shown\r\n2. Without scrolling the main page content hover over the outline and scroll down\r\n3. Observe that the outline overflows the navbar\n\n### Expected behavior\n\nOutline is clipped when over navbar in the same way when sidebar is present.\n\n### System Info\n\n```sh\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (16) x64 Intel(R) Core(TM) i7-6900K CPU @ 3.20GHz\r\n Memory: 45.66 GB / 63.92 GB\r\n Binaries:\r\n Node: 18.2.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - C:\\Program Files (x86)\\Yarn\\bin\\yarn.CMD\r\n npm: 9.6.6 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Chrome: 113.0.5672.127\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50)\r\n npmPackages:\r\n vitepress: ^1.0.0-beta.1 => 1.0.0-beta.1\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.",[2959,2960],{"name":2880,"color":2881},{"name":2961,"color":2962},"contribution welcome","11E4B8",2442,"Outline overflows navbar when sidebar not present","2023-08-16T00:04:22Z","https://github.com/vuejs/vitepress/issues/2442",0.68104094,["Reactive",2969],{},["Set"],["ShallowReactive",2972],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fYhFhpsUWUsvS3XSBpGtjGzRgjsTE0vgdK9UbAArfaeU":-1},"/vuejs/vitepress/4426"]