\r\n\r\n## More docs\r\n\r\n...\r\n\r\n\u003Cscript setup>\r\nimport CustomComponent from '../components/CustomComponent.tsx'\r\n\u003C/script>\r\n```\r\n\r\nbut found error:\r\n```bash\r\nLayout.vue:114 Uncaught (in promise) TypeError: Cannot destructure property 'frontmatter' of 'route.data' as it is null.\r\n```\r\n",[],279,"vitepress support tsx ?","2023-01-21T14:17:13Z","https://github.com/vuejs/vitepress/issues/279",0.78247267,{"description":2940,"labels":2941,"number":2946,"owner":2872,"repository":2873,"state":2926,"title":2947,"updated_at":2948,"url":2949,"score":2950},"Currently there are lot of repeated icons in generated dist/**/*.html files. Those can be avoided by these.",[2942,2943],{"name":2869,"color":2870},{"name":2944,"color":2945},"perf","378A61",3399,"Switch to CSS icons or SVG sprites","2024-02-25T00:05:04Z","https://github.com/vuejs/vitepress/issues/3399",0.7868812,{"description":2952,"labels":2953,"number":2957,"owner":2872,"repository":2873,"state":2926,"title":2958,"updated_at":2959,"url":2960,"score":2961},"### Describe the bug\n\nFrom version 1.0.0.0-rc.30 (includes 1.0.0.0-rc.31) custom language syntax highlighting aliases do not work.\n\n### Reproduction\n\nInto the config.js add:\r\n\r\n```js\r\nimport { BUNDLED_LANGUAGES } from 'shiki';\r\nconst graphaneLanguageGrammar = JSON.parse(readFileSync(\"./src/.vitepress/shiki/graphane.tmLanguage.json\"))\r\nconst html = BUNDLED_LANGUAGES.find(lang => lang.id === 'html')\r\nhtml.scopeName = 'source.graphane';\r\nhtml.grammar = graphaneLanguageGrammar;\r\nhtml.aliases = html.aliases || [];\r\nhtml.aliases.push('svg');\r\n```\r\n\r\n\n\n### Expected behavior\n\nHighlight the SVG as HTML and it is now displayed as TXT, and this warning is thrown in the console:\r\n\r\n```txt\r\nThe language 'svg' is not loaded, falling back to 'txt' for syntax highlighting. \r\n```\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22635\r\n CPU: (16) x64 Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz\r\n Memory: 10.91 GB / 31.75 GB\r\n Binaries:\r\n Node: 20.9.0 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.15 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 10.1.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 7.27.0 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (120.0.2210.22)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.31 => 1.0.0-rc.31\n```\n\n\n### Additional context\n\nWorks perfectly on Vitepress 1.0.0-rc.29 and earlier.\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.",[2954],{"name":2955,"color":2956},"bug: pending triage","e99695",3259,"The language is not loaded in syntax highlighting","2023-12-03T00:04:51Z","https://github.com/vuejs/vitepress/issues/3259",0.78791595,{"description":2963,"labels":2964,"number":2966,"owner":2872,"repository":2873,"state":2926,"title":2967,"updated_at":2968,"url":2969,"score":2970},"### Discussed in https://github.com/vuejs/vitepress/discussions/1275\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **erondpowell** September 2, 2022\u003C/sup>\r\nIn our folder project, we are trying to use the nested sidebar feature.\r\n- Each parent is a link to a page. ex: `/configuration/data-model.md`\r\n- Each nested page is in a folder. ex: `/configuration/data-model/relationships.md`\r\n\r\nEverything works fine in dev, but on prod testing, nested links are rendered multiple times.\r\nWe are not sure if it is a misconfiguration on our end, or a bug in the sidebar:\r\nhttps://github.com/directus/docs/pull/109\r\n\r\nThanks 🙏 \u003C/div>",[2965],{"name":2883,"color":2884},1276,"Support using links in parents of nested items","2023-01-21T14:26:41Z","https://github.com/vuejs/vitepress/issues/1276",0.7894754,["Reactive",2972],{},["Set"],["ShallowReactive",2975],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fs2aWXhpFGnu_Yr6MSlMPyaGoZTWXdGJaD-jRipOxG40":-1},"/vuejs/vitepress/1800"]