'\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","2023-01-21T14:34:18Z","https://github.com/vuejs/vitepress/issues/735",0.7453759,{"description":2912,"labels":2913,"number":2915,"owner":2872,"repository":2873,"state":2898,"title":2916,"updated_at":2917,"url":2918,"score":2919},"### Describe the bug\n\n\r\nhttps://github.com/vuejs/vitepress/assets/45784210/116479b0-9c90-4684-9b92-dbedf71dc7d5\r\n\r\n\n\n### Reproduction\n\nSee above\n\n### Expected behavior\n\nScrolling should not reset\n\n### System Info\n\n```sh\nv1.0.0-beta.7\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.",[2914],{"name":2895,"color":2896},2732,"🐞Bug(theme): clicking any tab on code group will reset the scrolling of tabs","2023-08-13T00:04:24Z","https://github.com/vuejs/vitepress/issues/2732",0.7478267,{"description":2921,"labels":2922,"number":2924,"owner":2872,"repository":2873,"state":2898,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\r\n\r\nIf search has been configured, a search button is shown the navigation bar. This opens a dialog which displays Algolia’s search interface.\r\n\r\nHowever, if JavaScript isn’t available/hasn’t loaded, this search button is still shown, labelled as ‘Search’, yet it doesn’t perform any function. This is confusing, perhaps even more so for screen reader users.\r\n\r\n### Reproduction\r\n\r\nLoad a VitePress-powered site with search configured and JavaScript disabled. A search button is shown, but clicking it doesn’t perform any action.\r\n\r\n### Expected behavior\r\n\r\nIdeally, it would be possible to have this element fallback to an input element and submit button that, when submitted, performs a search on a search engine like DuckDuckGo, with the query scoped to the VitePress’ site URL, for example: \u003Chttps://duckduckgo.com/?q=site%3Ahttps://vitepress.vuejs.org+my+query>\r\n\r\nHowever, the simpler option might be to only show the search button if JavaScript is available or loaded.\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: macOS 13.1\r\n CPU: (10) arm64 Apple M1 Pro\r\n Memory: 3.05 GB / 32.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 18.11.0 - ~/.nvm/versions/node/v18.11.0/bin/node\r\n npm: 8.19.3 - ~/.nvm/versions/node/v18.11.0/bin/npm\r\n Browsers:\r\n Chrome: 109.0.5414.87\r\n Firefox: 108.0.2\r\n Safari: 16.2\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.27 => 1.0.0-alpha.36\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.",[2923],{"name":2895,"color":2896},1794,"Search button shown when non-functional (i.e. without JavaScript)","2023-01-21T14:16:41Z","https://github.com/vuejs/vitepress/issues/1794",0.75102854,{"description":2930,"labels":2931,"number":2935,"owner":2872,"repository":2873,"state":2898,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Is your feature request related to a problem? Please describe.\r\n\r\nWhen I use Element-Plus in VitePress, the partial style of the component is modified. The reason is VitePress `src/client/theme-default/styles/layout.css` File reset all styles.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nI hope this code only takes effect in VitePress.\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\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/coc)\r\n- [X] Read the [docs](https://vitepress.vuejs.org/).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/master/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2932],{"name":2933,"color":2934},"duplicate","cfd3d7",434,"This is a suggestion","2023-01-21T16:04:15Z","https://github.com/vuejs/vitepress/issues/434",0.75689334,{"description":2941,"labels":2942,"number":2944,"owner":2872,"repository":2873,"state":2898,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Describe the bug\n\n```\r\n- [/example/](/example/) ❌\r\n- [./example/](./example/) ❌\r\n- [/example/index.md](/example/index.md) ❌\r\n- [./example/index.md](./example/index.md) ❌\r\n- the Left top \"Vitepress\" ❌\r\n- Sidebar \"example\" ❌\r\n- Navbar \"example\" ❌\r\n```\r\nClicking these internal links now triggers non-SPA navigation.\r\n\r\nrelated: https://vitepress.dev/guide/markdown#internal-links\r\n\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-tyiztl?file=docs%2Findex.md,docs%2F.vitepress%2Fconfig.ts\n\n### Expected behavior\n\nSPA navigation happens like it does with 1.0.0-rc.27.\n\n### System Info\n\n```Text\nStackblitz\r\n\r\n System:\r\n OS: Linux 5.0 undefined\r\n CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 0 Bytes / 0 Bytes\r\n Shell: 1.0 - /bin/jsh\r\n Binaries:\r\n Node: 18.18.0 - /usr/local/bin/node\r\n Yarn: 1.22.19 - /usr/local/bin/yarn\r\n npm: 9.4.2 - /usr/local/bin/npm\r\n pnpm: 8.10.0 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: 1.0.0-rc.28 => 1.0.0-rc.28\n```\n\n\n### Additional context\n\nThis bug seems to be caused by https://github.com/vuejs/vitepress/pull/3218\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.",[2943],{"name":2895,"color":2896},3225,"Clicking internal links without `.html` pointing a directory now triggers non-SPA navigation","2023-11-27T00:04:47Z","https://github.com/vuejs/vitepress/issues/3225",0.7574439,{"description":2950,"labels":2951,"number":2954,"owner":2872,"repository":2873,"state":2898,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### Describe the bug\n\nI've ran _Crome's Lighthouse_ accessibility audit against the page, and it's failing, for the element marked as: `button.VPSwitch.VPSwitchAppearance` the item was recently reviewed for a11y and code (alpha58) compiles it inside a label.\r\n\r\nLighthouse tests expects the tag button has an [explicit](https://dequeuniversity.com/rules/axe/4.4/button-name) `aria-label` attribute. I can't say if it's false positive but affects the report.\n\n### Reproduction\n\n1. Setup a basic site\r\n2. Open Chrome browser (v.100.x)\r\n3. Open the basic website and browser's console\r\n4. Inside Tab Lighthouse (9.4.0), check Accessibility and Desktop mode radio button \r\n5. Run Generate Report\r\n6. See: warning Buttons do not have an accessible name marked for button.VPSwitch.VPSwitchAppearance\r\n\n\n### Expected behavior\n\nAny warning expected for a11y tests.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.10 Ubuntu 22.04.2 LTS 22.04.2 LTS (Jammy Jellyfish)\r\n CPU: (8) x64 Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz\r\n Memory: 11.43 GB / 12.31 GB\r\n Container: Yes\r\n Shell: 5.1.16 - /bin/bash\r\n Binaries:\r\n Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node\r\n Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.1/bin/yarn\r\n npm: 8.19.2 - ~/.nvm/versions/node/v16.15.1/bin/npm\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.58 => 1.0.0-alpha.58\n```\n\n\n### Additional context\n\nrelated to #2080\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.",[2952,2953],{"name":2895,"color":2896},{"name":2869,"color":2870},2096,"Buttons do not have an accessible name","2023-08-12T00:04:27Z","https://github.com/vuejs/vitepress/issues/2096",0.75773466,{"description":2960,"labels":2961,"number":2962,"owner":2872,"repository":2873,"state":2898,"title":2963,"updated_at":2964,"url":2965,"score":2966},"### Describe the bug\n\nCommit e544b411d91eba54154243b0af4cea3226c192c4 was merged into `main` and released as part of RC12. \r\n\r\n[The PR](https://github.com/vuejs/vitepress/pull/2933) states that the search dialogue shouldn't be closed under a number of circumstances one of which is when the user presses enter. \r\n\r\nNo justification is given for this or any description of what the intended behaviour should be. This is made even more confusing given the current UI explicitly states that Enter will select the item:\r\n\r\n\r\n\n\n### Reproduction\n\nAdd the following Markdown files to a Vitepress site:\r\n\r\n```markdown\r\n# Overview\r\n\r\nSome text ...\r\n```\r\n\r\n* Hit `Ctrl + K` and type \"Overview\".\r\n* Hit enter.\n\n### Expected behavior\n\nWhen a user hits Enter the search dialogue should be dismissed and Vitepress should navigate to the selected entry.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 6.2 Ubuntu 23.04 23.04 (Lunar Lobster)\r\n CPU: (16) x64 Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz\r\n Memory: 56.57 GB / 62.54 GB\r\n Container: Yes\r\n Shell: 5.2.15 - /bin/bash\r\n Binaries:\r\n Node: 18.17.1 - /usr/bin/node\r\n npm: 9.6.7 - /usr/bin/npm\r\n pnpm: 8.6.12 - ~/.local/share/pnpm/pnpm\r\n Browsers:\r\n Chrome: 116.0.5845.179\r\n Chromium: 116.0.5845.179\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.12 => 1.0.0-rc.12\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.",[],2935,"Enter key no longer selects result in local search","2023-09-21T00:04:15Z","https://github.com/vuejs/vitepress/issues/2935",0.75967884,["Reactive",2968],{},["Set"],["ShallowReactive",2971],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f1cXzNFZg0ohyroymAPc-THPhK8tHNX82PGBK35P4egg":-1},"/vuejs/vitepress/1299"]