\r\n\u003C/VPTeamPage>\r\n\n\n### Expected behavior\n\nit suppose to change Sponsor word like this but didn't work\r\n\r\n\r\n\r\n\n\n### System Info\n\n```Text\nSystem\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.",[2911],{"name":2912,"color":2913},"need more info","bdbefc",4124,"actionText prop on VPTeamMembers components doesn't works","2024-08-20T04:43:16Z","https://github.com/vuejs/vitepress/issues/4124",0.7021334,{"description":2920,"labels":2921,"number":2923,"owner":2871,"repository":2872,"state":2903,"title":2924,"updated_at":2925,"url":2926,"score":2927},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\n`markdown: {\r\n\t\ttheme: {\r\n\t\t\tlight: 'github-light',\r\n\t\t\tdark: 'github-dark',\r\n\t\t}\r\n\t},`\n\n### Expected behavior\n\n能够使用light模式\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.22000\r\n CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz\r\n Memory: 6.41 GB / 15.86 GB\r\n Binaries:\r\n Node: 16.17.0 - D:\\software\\nodejs\\node.EXE\r\n Yarn: 1.22.19 - D:\\software\\nodejs\\node_global\\yarn.CMD\r\n npm: 8.18.0 - D:\\software\\nodejs\\node_global\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.22000.120.0), Chromium (105.0.1343.27)\r\n Internet Explorer: 11.0.22000.120\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.13 => 1.0.0-alpha.13\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.",[2922],{"name":2900,"color":2901},1312,"我配置了markdown主题,但是永远是dark模式,light无效","2023-01-21T14:26:35Z","https://github.com/vuejs/vitepress/issues/1312",0.7059004,{"description":2929,"labels":2930,"number":2931,"owner":2871,"repository":2872,"state":2903,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\nwith a config file like this https://github.com/tensorchord/envd-docs/blob/main/docs/.vitepress/config.ts\r\nwhen we change the language of doc it did not naviagative to corresponding URL\n\n### Reproduction\n\neg.\r\nwhen we in this page https://envd.tensorchord.ai/zh/guide/build-envd.html\r\nwe click the button to change the language\r\n\r\nwe expect it naviagte to https://envd.tensorchord.ai/guide/build-envd.html\r\nnot https://envd.tensorchord.ai/guide/getting-started.html\n\n### Expected behavior\n\nnaviagte to corresponding URL\n\n### System Info\n\n```shell\nwin 10 chrome 103\n```\n\n\n### Additional context\n\nI'm not sure whether it been fixed on i18n branch or is there any way I have miss to achive this for now.\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.",[],1253,"[i18n]: always naviageto init page when language change not the corresponding URL","2023-01-25T00:04:21Z","https://github.com/vuejs/vitepress/issues/1253",0.7074771,{"description":2937,"labels":2938,"number":2942,"owner":2871,"repository":2872,"state":2903,"title":2943,"updated_at":2944,"url":2945,"score":2946},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nN/A\n\n### Expected behavior\n\nN/A\n\n### System Info\n\n```shell\nN/A\n```\n\n\n### Additional context\n\nN/A\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.",[2939],{"name":2940,"color":2941},"theme","0754FB",1714,"The content of the Badge component's text property is displayed in the outline header","2023-01-29T00:04:25Z","https://github.com/vuejs/vitepress/issues/1714",0.7115344,{"description":2948,"labels":2949,"number":2951,"owner":2871,"repository":2872,"state":2903,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Describe the bug\n\nActuall I am using one pakage in vue component and I am importing my vue component in vitepress then when I am trying to build I am getting this error\r\n\r\n(!) Some chunks are larger than 500 kBs after minification. Consider:\r\n\r\nUsing dynamic import() to code-split the application\r\nUse build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks\r\nAdjust chunk size limit for this warning via build.chunkSizeWarningLimit.\r\n✓ building client + server bundles...\r\n⠙ rendering pages...ReferenceError: document is not defined\r\nat enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\nat C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\nat C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\nat Object. (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3)\r\nat Module._compile (node:internal/modules/cjs/loader:1101:14)\r\nat Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\nat Module.load (node:internal/modules/cjs/loader:981:32)\r\nat Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\nat ModuleWrap. (node:internal/modules/esm/translators:190:29)\r\nat ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\n✖ rendering pages...\r\nbuild error:\r\nReferenceError: document is not defined\r\nat enableDismissTrigger (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:826:21)\r\nat C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:908:3\r\nat C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:7:83\r\nat Object. (C:\\ArunSk\\aswin\\node_modules\\bootstrap\\dist\\js\\bootstrap.js:10:3)\r\nat Module._compile (node:internal/modules/cjs/loader:1101:14)\r\nat Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)\r\nat Module.load (node:internal/modules/cjs/loader:981:32)\r\nat Function.Module._load (node:internal/modules/cjs/loader:822:12)\r\nat ModuleWrap. (node:internal/modules/esm/translators:190:29)\r\nat ModuleJob.run (node:internal/modules/esm/module_job:185:25)\r\nPS C:\\ArunSk\\aswin>\r\nif I comment that package and try to build it's building fine and I have added config.ts also\r\n\r\nimport { UserConfig } from 'vite';\r\n\r\nconst config: UserConfig = {\r\n// Other Vite configuration options...\r\nbuild: {\r\nrollupOptions: {\r\nexternal: /^bootstrap($|/)/,\r\n},\r\nssr: false,\r\n},\r\n};\r\n\r\nexport default config;\r\n\r\nmy package.json\r\n\r\n{\r\n\"scripts\": {\r\n\"docs:dev\": \"vitepress dev docs\",\r\n\"docs:build\": \"vitepress build docs\",\r\n\"docs:preview\": \"vitepress preview docs\"\r\n},\r\n\"peerDependencies\": {\r\n\"markdown-it-container\": \"^3.0.0\",\r\n\"vitepress\": \"\",\r\n\"vue\": \"^3.2.0\"\r\n},\r\n\"devDependencies\": {\r\n\"@types/markdown-it\": \"^12.2.3\",\r\n\"@types/markdown-it-container\": \"^2.0.5\",\r\n\"@types/node\": \"^18.16.3\",\r\n\"lint-staged\": \"^13.2.2\",\r\n\"vue\": \"^3.2.38\"\r\n},\r\n\"dependencies\": {\r\n\"bootstrap\": \"^5.2.0\",\r\n\"fire-stars\": \"^0.0.1\",\r\n\"markdown-it\": \"^13.0.1\",\r\n\"markdown-it-container\": \"^3.0.0\",\r\n\"sass\": \"^1.63.6\",\r\n\"vitepress\": \"\",\r\n\"vue\": \"^3.2.0\"\r\n}\r\n}\n\n### Reproduction\n\nSo is it possible to sort out that issue with vite config ts \r\n\r\n// vite.config.ts\r\nimport { defineConfig } from 'vite';\r\nimport { UserConfig } from 'vite';\r\n\r\nconst config: UserConfig = {\r\nbuild: {\r\nrollupOptions: {\r\nexternal: ['fire-stars'], // Add external module\r\noutput: {\r\nglobals: {\r\n'fire-stars': 'fireStars', // Provide global variable name for the external module\r\n},\r\n},\r\n},\r\n},\r\n};\r\n\r\nexport default defineConfig(config);\r\n\r\nso is it posiible with vite config ts file ?\n\n### Expected behavior\n\nBuild susseful \r\n\r\nAnd this is my old question same issue But now I want in diff approch\r\n\r\nhttps://github.com/vuejs/vitepress/issues/2633\n\n### System Info\n\n```sh\n{\r\n \"devDependencies\": {\r\n \"vitepress\": \"^1.0.0-beta.5\"\r\n },\r\n \"scripts\": {\r\n \"docs:dev\": \"vitepress dev vitepress\",\r\n \"docs:build\": \"vitepress build vitepress\",\r\n \"docs:preview\": \"vitepress preview vitepress\"\r\n },\r\n \"dependencies\": {\r\n \"fire-stars\": \"^0.0.1\",\r\n \"sass\": \"^1.63.6\"\r\n }\r\n}\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.",[2950],{"name":2900,"color":2901},2653,"Build issue ","2023-07-28T00:04:08Z","https://github.com/vuejs/vitepress/issues/2653",0.7134595,{"description":2957,"labels":2958,"number":2960,"owner":2871,"repository":2872,"state":2903,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\r\n\r\nWhen running `npx vitepress init` the default path is `./`. This can cause problems.\r\n\r\nAfter finishing installation and running to test the project is working I am greeted with this error.\r\n\r\n\r\n\r\n```bash\r\n[plugin:vite:vue] At least one \u003Ctemplate> or \u003Cscript> is required in a single file component.\r\n```\r\n\r\nResolving it was as simple as remaking the project, and changing the `vitepress` path to `./docs`.\r\n\r\n### Reproduction\r\n\r\nReproducing repository: https://github.com/drunkenvalley/vitepress-reprod\r\n\r\n1. Create vite project.\r\n```bash\r\n> npm create vite@latest\r\n√ Project name: ... vite-project\r\n√ Select a framework: » Vue\r\n√ Select a variant: » TypeScript\r\n\r\nScaffolding project in path/to/project...\r\n\r\nDone. Now run:\r\n\r\n cd vite-project\r\n npm install\r\n npm run dev\r\n```\r\n2. From project folder initialize `vitepress`\r\n```bash\r\n> npx vitepress init \r\n\r\n vitepress v1.0.0-alpha.66\r\n\r\n┌ Welcome to VitePress! \r\n│\r\n◇ Where should VitePress initialize the config?\r\n│ ./\r\n│\r\n◇ Site title:\r\n│ My Awesome Project\r\n│\r\n◇ Site description:\r\n│ A VitePress Site\r\n│\r\n◇ Theme:\r\n│ Default Theme\r\n│\r\n◇ Use TypeScript for config and theme files?\r\n│ Yes\r\n│\r\n◇ Add VitePress npm scripts to package.json?\r\n│ Yes\r\n│\r\n└ Done! Now run npm run docs:dev and start writing.\r\n```\r\n3. Run `npm i -D vitepress` and `npm install`\r\n4. Run `npm run docs:dev`\r\n\r\n### Expected behavior\r\n\r\nA default Vue project created with vite and the default vitepress settings should preferably be compatible out of the box. Alternatively, the *Getting Started* documentation should be a bit more explicit that an alternate path is not optional, but required, with an \"existing\" vite project.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (32) x64 AMD Ryzen 9 7950X 16-Core Processor\r\n Memory: 8.52 GB / 15.73 GB\r\n Binaries:\r\n Node: 16.18.1 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 8.19.2 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (112.0.1722.46)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.66 => 1.0.0-alpha.66\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nWhile not really an issue, it is a bit odd to not install `vitepress` when using the `npx vitepress init`.\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.dev).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2959],{"name":2868,"color":2869},2220,"Default `vitepress` project initialized in `vite` + `vue` throws exceptions","2023-08-15T00:04:15Z","https://github.com/vuejs/vitepress/issues/2220",0.71444017,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fDCgM6-oNRUw9tv84YNto6C5odXiw01hYNOSOccPt8fM":-1},"/vuejs/vitepress/2612"]