\u003C/svg>',\r\n\r\n```\r\n\r\n### Expected behavior\r\n\r\nAdd `width=\"24\" height=\"24\" `attribute\r\nLike this\r\n```txt\r\n'\u003Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\">' \r\n```\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Linux 6.3 Kali GNU/Linux Rolling 2023.3\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 8.21 GB / 15.24 GB\r\n Container: Yes\r\n Shell: 5.9 - /usr/bin/zsh\r\n Binaries:\r\n Node: 18.13.0 - /usr/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.2.0 - /usr/bin/npm\r\n Browsers:\r\n Chrome: 116.0.5845.179\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.10 => 1.0.0-rc.10\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.",[3054,3057,3060],{"name":3055,"color":3056},"theme","0754FB",{"name":3058,"color":3059},"a11y","fbca04",{"name":3023,"color":3024},2930,"themeConfig.socialLinks.icon ","2024-02-02T09:23:16Z","https://github.com/vuejs/vitepress/issues/2930",0.77522224,{"description":3067,"labels":3068,"number":3072,"owner":3026,"repository":3027,"state":3073,"title":3074,"updated_at":3075,"url":3076,"score":3077},"### Describe the bug\r\n\r\nSuch code:\r\n\r\n````md\r\n```vue twoslash :line-numbers\r\n\u003Cscript setup lang=\"ts\">\r\nimport {ref} from 'vue';\r\n\r\nconst message = ref('Hello world!');\r\n\u003C/script>\r\n```\r\n````\r\n\r\ncode block line numbers would be from 1 to 2, rather than from 1 to 5, [see here](http://localhost:5173/knowledge-base/TODO#bug)\r\n\r\n### Reproduction\r\n\r\nusing such code in `vitepress`:\r\n\r\n````md\r\n```vue twoslash :line-numbers\r\n\u003Cscript setup lang=\"ts\">\r\nimport {ref} from 'vue';\r\n\r\nconst message = ref('Hello world!');\r\n\u003C/script>\r\n```\r\n````\r\n\r\n### Expected behavior\r\n\r\nline number works correctly\r\n\r\n### System Info\r\n\r\n```Text\r\nnone\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.",[3069],{"name":3070,"color":3071},"bug: pending triage","e99695",3972,"closed","[BUG]","2024-06-28T04:43:03Z","https://github.com/vuejs/vitepress/issues/3972",0.740384,{"description":3079,"labels":3080,"number":3083,"owner":3026,"repository":3027,"state":3073,"title":3084,"updated_at":3085,"url":3086,"score":3087},"### Describe the bug\n\nIn the official Vue.js document, the drop-down menu of the top navigation has an exception of infinitely triggering the drop-down to collapse.\n\n### Reproduction\n\n\r\nhttps://user-images.githubusercontent.com/47056082/234228099-37dad552-eeb4-4507-baf1-2b6cbab5a3fc.mov\r\n\r\n\n\n### Expected behavior\n\nNormal Trigger PulldownCollapse.\n\n### System Info\n\n```shell\nSystem:\r\n OS: macOS 13.0.1\r\n CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz\r\n Memory: 500.98 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 14.21.2 - ~/.nvm/versions/node/v14.21.2/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v14.21.2/bin/yarn\r\n npm: 6.14.17 - ~/.nvm/versions/node/v14.21.2/bin/npm\r\n Browsers:\r\n Chrome: 109.0.5414.119\r\n Safari: 16.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.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3081,3082],{"name":3070,"color":3071},{"name":3023,"color":3024},2288,"The drop-down menu of the top navigation appears infinitely triggering the drop-down to collapse.","2023-08-16T00:04:15Z","https://github.com/vuejs/vitepress/issues/2288",0.74083436,{"description":3089,"labels":3090,"number":3092,"owner":3026,"repository":3027,"state":3073,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Describe the bug\n\nIn mobile, there is a gap on the leftmost side of the code block in [this address](https://vitepress.vuejs.org/guide/deploying.html), which is not consistent with the style of the code block on other pages.\r\n\r\n\r\n\n\n### Reproduction\n\nhttps://vitepress.vuejs.org/guide/deploying.html\n\n### Expected behavior\n\nConsistent with the rest of the page code block style.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (8) x64 Intel(R) Core(TM) i5-9400 CPU @ 2.90GHz\r\n Memory: 3.59 GB / 15.9 GB\r\nBinaries:\r\n Node: 16.10.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.17 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 7.24.0 - C:\\Program Files\\nodejs\\npm.CMD\r\nBrowsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (103.0.1264.62)\r\n Internet Explorer: 11.0.19041.1566\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.",[3091],{"name":3070,"color":3071},1102,"Inconsistency of code block style in mobile","2023-01-21T14:28:56Z","https://github.com/vuejs/vitepress/issues/1102",0.7464835,{"description":3098,"labels":3099,"number":3101,"owner":3026,"repository":3027,"state":3073,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### Describe the bug\r\n\r\nPage's width is not right on mobile screen with long words\r\n\r\n### Reproduction\r\n\r\nIf md file have long word like this:\r\n\r\n```\r\nhttps://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Symbol\r\n```\r\nor this:\r\n```\r\nxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\r\n```\r\n\r\nthe width of page on mobile could be wrong. (my browser is chrome, android 12)\r\n\r\n\r\n\r\n\r\n### Expected behavior\r\n\r\nshould add this rule?\r\n\r\n```css\r\n*{\r\n word-break: break-word;\r\n}\r\n```\r\n\r\n### System Info\r\n\r\n```shell\r\nchrome\r\nandroid 12\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.vuejs.org).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3100],{"name":3070,"color":3071},1057,"Page's width is not right on mobile screen with long words","2023-01-21T14:30:02Z","https://github.com/vuejs/vitepress/issues/1057",0.7510943,{"description":3107,"labels":3108,"number":3110,"owner":3026,"repository":3027,"state":3073,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Describe the bug\n\nHover state on link in `.vp-doc` is always matched, seems `:hover` is being truncated.\r\n\r\n\r\nCopy button in code block is also messed up.\r\n\r\n\r\n\r\nTable style messed up as well.\r\n\r\nI guess there's a lot more...\n\n### Reproduction\n\nIn `config.ts`:\r\n```ts\r\nexport default defineConfig({\r\n vite: {\r\n css: {\r\n postcss: {\r\n plugins: [\r\n postcssIsolateStyles({\r\n includeFiles: [/vp-doc\\.css/]\r\n }),\r\n ],\r\n },\r\n }\r\n})\r\n```\r\n\r\nI would write one if required, but since my above example is pretty easy to reproduce, I'll leave it blank here.\n\n### Expected behavior\n\nStyle not messed up\r\n\r\n (NOTE: it's working properly if I use `postcss-prefix-selector` straight away instead of using the one from vitepress package)\n\n### System Info\n\n```sh\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: 38.35 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.1 - C:\\NodeJS\\npm.CMD\r\n pnpm: 8.7.0 - C:\\NodeJS\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (116.0.1938.62)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.9 => 1.0.0-rc.9\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.",[3109],{"name":3070,"color":3071},2868,"`postcssIsolateStyles` mess up original styles","2023-09-05T00:04:08Z","https://github.com/vuejs/vitepress/issues/2868",0.7559362,{"description":3116,"labels":3117,"number":3118,"owner":3026,"repository":3027,"state":3073,"title":3119,"updated_at":3120,"url":3121,"score":3122},"",[],2420,"How do you solve the problem of each page having the same last update timestamp when building and deploying your site?","2023-06-02T00:04:13Z","https://github.com/vuejs/vitepress/issues/2420",0.7564865,{"description":3124,"labels":3125,"number":3127,"owner":3026,"repository":3027,"state":3073,"title":3128,"updated_at":3129,"url":3130,"score":3131},"### Describe the bug\n\nWhile trying to run document some components built on top of Quasar components, I was unable to run `vitepress build docs` for my project and throwing error\r\n\r\n> ✓ building client + server bundles...\r\n✖ rendering pages...\r\nbuild error:\r\nTypeError: Cannot convert undefined or null to object\r\n at Function.assign (\u003Canonymous>)\r\n at installQuasar (......dist\\quasar.cjs.prod.js:6:15454)\r\n at Object.install (......\\quasar\\dist\\quasar.cjs.prod.js:6:491344)\r\n at Object.use (......\\dist\\runtime-core.cjs.prod.js:3350:28)\r\n at Object.enhanceApp (....../docs/.vitepress/.temp/app.js:5580:9)\r\n at createApp (....../docs/.vitepress/.temp/app.js:5881:17)\r\n at render (....../docs/.vitepress/.temp/app.js:5921:33)\r\n at renderPage (....../vitepress/dist/node/serve-c489c02c.js:41209:25)\r\n at ....../node_modules/vitepress/dist/node/serve-c489c02c.js:41742:21\r\n at Array.map (\u003Canonymous>)\r\n\n\n### Reproduction\n\n**config.ts**\r\n\r\n```typescript\r\nimport { defineConfig } from 'vitepress'\r\nimport vueJsx from '@vitejs/plugin-vue-jsx'\r\nimport * as path from \"path\";\r\n\r\nexport default defineConfig(\r\n {\r\n lang: 'en-US',\r\n title: 'MyLib',\r\n lastUpdated: true,\r\n titleTemplate: false,\r\n themeConfig: {\r\n siteTitle: 'MyLib',\r\n docFooter: {\r\n prev: 'Prev',\r\n next: 'Next'\r\n },\r\n },\r\n vite: {\r\n plugins: [\r\n vueJsx(),\r\n ],\r\n resolve: {\r\n alias: [\r\n {find: \"@\", replacement: path.resolve(__dirname, '../../src') },\r\n {find: \"components\", replacement: path.resolve(__dirname, '../components') }\r\n ],\r\n dedupe: ['vue', 'quasar', 'Quasar', 'pubsub-js'],\r\n },\r\n build: {\r\n rollupOptions: {\r\n external: ['vue', /quasar\\/.+/]\r\n }\r\n },\r\n }\r\n }\r\n)\r\n````\r\n\r\n**index.ts**\r\n\r\n```typescript\r\nimport DefaultTheme from 'vitepress/theme'\r\nimport { App, onMounted } from 'vue'\r\nimport { dispatchEventStorage } from '../utils/tools'\r\nimport MyLib from 'my-lib '\r\n\r\nimport Container from \"../components/Container.vue\";\r\nimport {Quasar } from \"quasar\";\r\nimport {quasarConfig} from \"@\";\r\n\r\nexport default {\r\n ...DefaultTheme,\r\n enhanceApp ({ app }: { app: App }) {\r\n app.use(Quasar, {\r\n components: {\r\n ...quasarConfig.components,\r\n },\r\n directives: {\r\n ...quasarConfig.directives,\r\n },\r\n plugins: {\r\n ...quasarConfig.plugins,\r\n },\r\n });\r\n app.use(MyLib);\r\n app.component('Container', Container)\r\n },\r\n\r\n setup () {\r\n onMounted(() => {\r\n dispatchEventStorage()\r\n })\r\n }\r\n}\r\n```\n\n### Expected behavior\n\nAs `vitepress dev docs` works fine and serving the documentation with the required component example, running 'vitepress build docs' is not running fine in rendering pages step.\n\n### System Info\n\n```shell\nwindows: 11,\r\nnode: v16.19.1\r\nnpm: 8.19.3\r\nquasar: 2.10.2\r\nvue: 3.2.47\r\nvite: 4.3.1\r\nvitepress: 1.0.0-alpha.73\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.",[3126],{"name":3020,"color":3021},2298,"Quasar and Vitepress: Cannot convert undefined or null to object","2023-05-05T00:04:11Z","https://github.com/vuejs/vitepress/issues/2298",0.7589802,["Reactive",3133],{},["Set"],["ShallowReactive",3136],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fg6jAFpldtPiVdT4WTvzB2HpDj-wll1FWp8BA-mN0JaU":-1},"/vuejs/vitepress/2386"]