'\r\n const target = `\u003Cdiv id=\"app\">\u003C/div>`\r\n this.shadow = this.attachShadow({ mode: 'open' })\r\n this.shadow.innerHTML = designSystemCSS + target\r\n createApp(App) // App defined elsewhere ofc\r\n .mount(this.shadow.querySelector('#app'))\r\n }\r\n}\r\n```\n\n### Describe the solution you'd like\n\nProbably just being able to set `compilerOptions.isCustomElement` somewhere would be good enough?\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.",[],735,"Custom element support","https://github.com/vuejs/vitepress/issues/735",0.6664708,{"description":2905,"labels":2906,"number":2907,"owner":2868,"repository":2869,"state":2870,"title":2908,"updated_at":2909,"url":2910,"score":2911},"### Is your feature request related to a problem? Please describe.\n\n当我在文档里插入图片发布后,图片中有部分内容在页面上较为模糊。我试过markdown-it-custom-attrs插件,但是好像没有生效。\n\n### Describe the solution you'd like\n\n在vitepress中集成图片灯箱的功能,或者有什么办法可以集成相关组件(希望给一个示例)\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.",[],2674,"能否增加一个图片点击放大的功能。","2023-08-01T00:04:35Z","https://github.com/vuejs/vitepress/issues/2674",0.6763147,{"description":2913,"labels":2914,"number":2918,"owner":2868,"repository":2869,"state":2870,"title":2919,"updated_at":2920,"url":2921,"score":2922},"### Is your feature request related to a problem? Please describe.\n\nNope.\n\n### Describe the solution you'd like\n\nProvide a config option, like `lastUpdated`.\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\nNot very familiar with Node and Vite. I tried to do it on my own, but failed with 'process is not defined'. Any help?\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.",[2915],{"name":2916,"color":2917},"question","5D5FAE",3001,"Support to show page contributors","2023-10-01T00:04:52Z","https://github.com/vuejs/vitepress/issues/3001",0.69241875,{"description":2924,"labels":2925,"number":2929,"owner":2868,"repository":2869,"state":2870,"title":2930,"updated_at":2931,"url":2932,"score":2933},"### Is your feature request related to a problem? Please describe.\n\nAlthough C# is one of the available languages it does not recognize cs extension while trying to use \u003C\u003C\u003C to import code.\r\n\r\n```bash\r\n[vite] Internal server error: No language registration for cs\r\n```\n\n### Describe the solution you'd like\n\nI'm not sure how it work internally but it seems in only missing the recognition of cs files as C# language!\n\n### Describe alternatives you've considered\n\nIf it can be done by default great.\r\nIf this needs an configuration maybe updating the docs would suffice.\r\n\n\n### Additional context\n\nI have support for other languages would improve the usage (and popularity) of vitepress 🤓 \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],{"name":2927,"color":2928},"build","377ba8",861,"Add support for cs files! Yes I do use vitepress to document C# libraries 😁","2023-01-21T14:25:28Z","https://github.com/vuejs/vitepress/issues/861",0.6939024,{"description":2935,"labels":2936,"number":2937,"owner":2868,"repository":2869,"state":2870,"title":2938,"updated_at":2939,"url":2940,"score":2941},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\nWhen using a custom theme, importing composables like `useRoute` from `\"vitepress\"` in the Layout component also imports the styles for the default theme.\r\n\r\n**To Reproduce**\r\n\r\n1. Follow the [Getting Started guide](https://vitepress.vuejs.org/guide/getting-started.html) to create a new site\r\n2. Create `docs/.vitepress/theme/Layout.vue` with the following contents:\r\n\r\n```vue\r\n\u003Ctemplate>\r\n \u003CContent />\r\n\u003C/template>\r\n\r\n\u003Cscript setup>\r\n// import { useRoute } from \"vitepress\";\r\n// const route = useRoute();\r\n\u003C/script>\r\n```\r\n\r\n3. Create `docs/.vitepress/theme/index.js` with the following contents:\r\n\r\n```js\r\nimport Layout from \"./Layout.vue\";\r\n\r\nexport default {\r\n Layout,\r\n};\r\n```\r\n\r\n4. Run `yarn docs:dev` and open http://localhost:3000. Note the heading doesn't have any styles applied to it:\r\n\r\n\r\n\r\n5. Uncomment the lines in the `\u003Cscript setup>` section in `docs/.vitepress/theme/Layout.vue`. Note the heading now has the default styles applied to it, even though we only imported `useRoute`:\r\n\r\n\r\n\r\n**Expected behavior**\r\nThe heading should remain unstyled since we aren't explicitly importing any styles.\r\n\r\n**System Info**\r\n- vitepress version: v0.9.2\r\n- vite version: v1.0.0-rc.13\r\n- Node version: v12.20.0\r\n- OS version: macOS Catalina 10.15.7\r\n\r\n**Additional context**\r\nI had a quick look at the Vitepress code and it looks like the problem might be to do with this line: https://github.com/vuejs/vitepress/blob/309aa7a8d0e7ab08c1c9db258c74709a66b295cb/src/client/app/exports.ts#L29\r\n\r\nAdding the following to `docs/.vitepress/config.js`:\r\n\r\n```javascript\r\nmodule.exports = {\r\n alias: {\r\n \"/@default-theme/index\": \"/@theme/empty.js\",\r\n },\r\n};\r\n```\r\n\r\n...and creating an empty file `docs/.vitepress/theme/empty.js` prevents the default styles being applied.\r\n",[],182,"Importing default composables also imports default theme's styles","2023-01-21T16:23:59Z","https://github.com/vuejs/vitepress/issues/182",0.69704765,{"description":2943,"labels":2944,"number":2946,"owner":2868,"repository":2869,"state":2870,"title":2947,"updated_at":2948,"url":2949,"score":2950},"### Describe the bug\n\nCheck VP types here https://arethetypeswrong.github.io/?p=vitepress%401.0.0-beta.1, `vitepress/theme-without-fonts` types for node missing.\r\n\n\n### Reproduction\n\nhttps://arethetypeswrong.github.io/?p=vitepress%401.0.0-beta.1\n\n### Expected behavior\n\nTypes should be there\n\n### System Info\n\n```sh\nNA\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.",[2945],{"name":2879,"color":2880},2415,"missing vitepress/theme-without-fonts types for node","2023-06-02T00:04:15Z","https://github.com/vuejs/vitepress/issues/2415",0.69878626,{"description":2952,"labels":2953,"number":2957,"owner":2868,"repository":2869,"state":2870,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Describe the bug\n\nThe request url \"/Users/allen/Desktop/lingo_code/turborepo/node_modules/.pnpm/registry.npmmirror.com+@docsearch+css@3.2.1/node_modules/@docsearch/css/dist/style.css\" is outside of Vite serving allow list.\n\n### Reproduction\n\n无\n\n### Expected behavior\n\n正常运行\n\n### System Info\n\n```shell\nThe request url \"/Users/allen/Desktop/lingo_code/turborepo/node_modules/.pnpm/registry.npmmirror.com+@docsearch+css@3.2.1/node_modules/@docsearch/css/dist/style.css\" is outside of Vite serving allow list.\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.",[2954],{"name":2955,"color":2956},"need more info","bdbefc",1480,"vite 运行时报错","2023-01-21T14:20:32Z","https://github.com/vuejs/vitepress/issues/1480",0.70307916,["Reactive",2963],{},["Set"],["ShallowReactive",2966],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fvSrMJ9S1TdxbDoqP-v_uEew9WKRChDmXlj1segcznhk":-1},"/vuejs/vitepress/2424"]