\r\n\r\nThis requires use of vue/dist/vue.esm-bundler.js.\r\n\r\nThe application itself works with the following alias in the vite.config.ts file: \r\n```\r\nexport default defineConfig({\r\n plugins: [vue()],\r\n define: {\r\n global: {},\r\n },\r\n resolve: {\r\n alias: {\r\n \"@\": fileURLToPath(new URL(\"./src\", import.meta.url)),\r\n 'vue': 'vue/dist/vue.esm-bundler.js',\r\n './runtimeConfig': './runtimeConfig.browser',\r\n },\r\n },\r\n});\r\n````\r\n\r\nHowever, the vitepress documentation does not. I have added the same alias to the vitepress configuration file:\r\n```\r\nconst path = require('path')\r\nmodule.exports = {\r\n title: '',\r\n description: '',\r\n themeConfig: {\r\n repo: '',\r\n sidebar: [\r\n {\r\n text: 'Introduction',\r\n items: [\r\n { text: 'What is My Lib?', link: '/' },\r\n ],\r\n }, {\r\n text: 'Components',\r\n items: [\r\n { text: 'B-Markdown', link: '/components/b-markdown/desc' },\r\n ],\r\n }\r\n ],\r\n },\r\n vite: {\r\n resolve: {\r\n alias: {\r\n 'vue': 'vue/dist/vue.esm-bundler.js'\r\n }\r\n },\r\n }\r\n}\r\n\r\n```\r\n\r\nThe dynamic component does not display and a vue warning is generated suggesting that I add the alias to the bundler:\r\n```\r\nruntime-core.esm-bundler.js:38 [Vue warn]: Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias \"vue\" to \"vue/dist/vue.esm-bundler.js\". \r\n at \u003CAnonymous content=\"Test content.\" imgFolder=\"\" class=\"toastui-editor-contents\" ... > \r\n at \u003CVRuntimeTemplate class=\"toastui-editor-contents\" style= {max-width: '900px', margin: 'auto'} template=\"\u003Cdiv>\u003Cp>Test content.\u003C/p>\\n\u003C/div>\" > \r\n at \u003CBMarkdown content=\"Test content.\" > \r\n at \u003CBasic> \r\n at \u003CDemoContainer> \r\n at \u003CComponents/bMarkdown/desc.md> \r\n at \u003CVitePressContent class=\"vp-doc _components_b-markdown_desc\" > \r\n at \u003CVPDoc key=3 > \r\n at \u003CVPContent> \r\n at \u003CLayout> \r\n at \u003CVitePressApp>\r\n\r\n\r\n```\r\n\r\n\r\n### Reproduction\r\n\r\n1. Create a dynamic component using vue3-runtime-template.\r\n2. Add the dynamic component to a vitepress documentation page.\r\n3. Attempt to view the documentation page.\r\n\r\n### Expected behavior\r\n\r\nExpect to see the dynamic component (which works in the vite application but not in the vitepress documentation).\r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Linux 5.4 Ubuntu 20.04.4 LTS (Focal Fossa)\r\n CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor\r\n Memory: 1.45 GB / 15.59 GB\r\n Container: Yes\r\n Shell: 5.0.17 - /bin/bash\r\n Binaries:\r\n Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node\r\n npm: 8.11.0 - ~/.nvm/versions/node/v16.16.0/bin/npm\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.4 => 1.0.0-alpha.4\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.",[3101],{"name":3058,"color":3059},1065,"Alias Vue in config.js not working","2023-03-18T00:04:23Z","https://github.com/vuejs/vitepress/issues/1065",0.7453939,{"description":3108,"labels":3109,"number":3111,"owner":3026,"repository":3027,"state":3064,"title":3112,"updated_at":3113,"url":3114,"score":3115},"### Describe the bug\n\n\r\n\n\n### Reproduction\n\nAs described above\n\n### Expected behavior\n\nAs described above\n\n### System Info\n\n```shell\nAs described above\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.",[3110],{"name":3073,"color":3074},2168,"maybe copy button color too dark in code block with light background","2023-04-07T00:04:06Z","https://github.com/vuejs/vitepress/issues/2168",0.7497984,{"description":3117,"labels":3118,"number":3122,"owner":3026,"repository":3027,"state":3064,"title":3123,"updated_at":3124,"url":3125,"score":3126},"### Is your feature request related to a problem? Please describe.\n\nI want user `h1` as my article outline, i can't use theme config to custom my outline\n\n### Describe the solution you'd like\n\nif i have config in my config.js\r\n```js\r\n themeConfig: {\r\n outline: [1,6] || 'all'\r\n}\r\n```\r\nthe title selector should like this\r\n```js\r\ndocument\r\n .querySelectorAll\u003CHTMLHeadingElement>('h1,h2, h3, h4, h5, h6') // include h1 title\r\n .forEach((el) => {\r\n if (el.textContent && el.id) {\r\n updatedHeaders.push({\r\n level: Number(el.tagName[1]),\r\n title: el.innerText.replace(/\\s+#\\s*$/, ''),\r\n link: `#${el.id}`\r\n })\r\n }\r\n })\r\n```\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.",[3119],{"name":3120,"color":3121},"theme","0754FB",1529,"The levels of header to display in the outline can't support h1 title","2023-08-12T00:04:14Z","https://github.com/vuejs/vitepress/issues/1529",0.75440687,["Reactive",3128],{},["Set"],["ShallowReactive",3131],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fkJOJCWMqoZHxBsEH9agYrrXqhwFVZMynCKNONUrrbQ0":-1},"/vuejs/vitepress/705"]