\r\n\u003C/template>\r\n\r\n```\r\n\r\n- `index.md`:\r\n\r\n```md\r\n---\r\nlayout: home\r\n---\r\n\r\n\u003Cscript setup>\r\nimport { useData } from 'vitepress'\r\n\u003C/script>\r\n\r\n{{ useData() }}\r\n```\r\n\r\nSee \u003Chttps://stackblitz.com/edit/vite-x3jrgk>.\n\n### Expected behavior\n\nThere should be no such warning.\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.5\r\n CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz\r\n Memory: 224.85 MB / 16.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.5.1 - /usr/local/bin/node\r\n npm: 9.8.0 - /usr/local/bin/npm\r\n pnpm: 8.6.6 - /usr/local/bin/pnpm\r\n Browsers:\r\n Chrome: 116.0.5845.110\r\n Edge: 115.0.1901.188\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: 1.0.0-rc.4 => 1.0.0-rc.4\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.",[2905],{"name":2885,"color":2886},2856,"Imports from vitepress in markdown files lead to reexport warning","2023-09-03T00:04:43Z","https://github.com/vuejs/vitepress/issues/2856",0.6755684,{"description":2912,"labels":2913,"number":2915,"owner":2874,"repository":2875,"state":2888,"title":2916,"updated_at":2917,"url":2918,"score":2919},"### Describe the bug\n\nAn error occurred while building with `vitepress@1.0.0-alpha.13` (`vite@3.1.0`) and `ant-design-vue` **(dev working!)**\r\n> SyntaxError: Cannot use import statement outside a module\r\n\r\n\r\n\n\n### Reproduction\n\n# Steps:\r\n1. create a new project\r\n2. register a custom component `custom-button`\r\n3. use the `custom-button` in `index.md`\r\n4. building with vitepress\r\n\r\nReproduction repo: \r\nhttps://github.com/yeojongki/vitepress-cannot-use-import-statement-outside-a-module `(cd docs && pnpm i && pnpm build)`\r\n\n\n### Expected behavior\n\nsuccess build\n\n### System Info\n\n```shell\nSystem:\r\n OS: Windows 10 10.0.19044\r\n CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz\r\n Memory: 12.70 GB / 31.97 GB\r\n Binaries:\r\n Node: 16.13.0 - E:\\nodejs\\node.EXE\r\n Yarn: 1.22.17 - E:\\nodejs\\yarn.CMD\r\n npm: 8.1.3 - E:\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (105.0.1343.27)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-alpha.13 => 1.0.0-alpha.13\n```\n\n\n### Additional context\n\nrelative issue https://github.com/vuejs/vitepress/issues/324, but closed\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.",[2914],{"name":2885,"color":2886},1329,"SyntaxError: Cannot use import statement outside a module","2023-01-21T14:25:25Z","https://github.com/vuejs/vitepress/issues/1329",0.6776771,{"description":2921,"labels":2922,"number":2924,"owner":2874,"repository":2875,"state":2888,"title":2925,"updated_at":2926,"url":2927,"score":2928},"### Describe the bug\n\nUpon following the starter instructions in the [docs](https://vitepress.vuejs.org/guide/getting-started.html), running `yarn docs:dev` yields a blank webpage at `localhost:3000` with the error shown below in the console.\r\n\r\n\r\n\n\n### Reproduction\n\nFollowing the instructions outlined on the Getting Started page on [vitepress.vuejs.org](https://vitepress.vuejs.org/guide/getting-started.html).\n\n### Expected behavior\n\n\"Hello Vitepress\" should be rendered to the screen with no error messages in the console.\n\n### System Info\n\n```shell\nSystem:\r\n OS: Linux 5.13 Fedora 34 (Workstation Edition) 34 (Workstation Edition)\r\n CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz\r\n Memory: 2.30 GB / 15.28 GB\r\n Container: Yes\r\n Shell: 5.1.0 - /bin/bash\r\n Binaries:\r\n Node: 14.17.0 - /usr/bin/node\r\n Yarn: 1.22.5 - /usr/bin/yarn\r\n npm: 7.20.5 - /usr/local/bin/npm\r\n Browsers:\r\n Chrome: 92.0.4515.131\r\n Firefox: 90.0.2\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/coc)\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.",[2923],{"name":2885,"color":2886},355,"import not found: defineEmit","2023-01-21T16:22:12Z","https://github.com/vuejs/vitepress/issues/355",0.6865739,{"description":2930,"labels":2931,"number":2936,"owner":2874,"repository":2875,"state":2888,"title":2937,"updated_at":2938,"url":2939,"score":2940},"### Describe the bug\r\n\r\nI have a my node_modules as symlink, for save space and prevent synch with the cloud storage. Vite has some problemens resolving path with symlink, because they actually outside of the root folder, so they aren't in the allow list. This can be solved with `server.fs.strict= false`. But in vitepress, doesn't exist `vite.config.js`, I already tried to put in `./vitepress/config.js` but still got the same error.\r\n\r\n### Reproduction\r\n\r\n1. create a \"node_module\" as symlink, the original folder must be outside of the root.\r\n2. install the dependencies\r\n3. run dev\r\n\r\n### Expected behavior\r\n\r\ndev should run normally.\r\n\r\n### System Info\r\n\r\n```sh\r\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (4) x64 Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz\r\n Memory: 451.46 MB / 3.88 GB\r\n Binaries:\r\n Node: 18.12.1 - C:\\ProgramData\\Anaconda3\\node.EXE\r\n npm: 9.2.0 - C:\\ProgramData\\Anaconda3\\npm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (113.0.1774.50)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-beta.1 => 1.0.0-beta.1\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] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\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.",[2932,2935],{"name":2933,"color":2934},"need more info","bdbefc",{"name":2871,"color":2872},2443,"vitepress doesn't work with node_modules as symlink","2023-09-07T00:04:18Z","https://github.com/vuejs/vitepress/issues/2443",0.686732,{"description":2942,"labels":2943,"number":2945,"owner":2874,"repository":2875,"state":2888,"title":2946,"updated_at":2947,"url":2948,"score":2949},"### Describe the bug\r\n\r\nThere is no problem in the development environment, but an error was thrown during packaging execution\r\n\u003Cimg width=\"1320\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/142566415/3a33fbd2-7d53-4bee-b0d0-db8ded2b047d\">\r\n\r\n### Reproduction\r\n\r\nFor development - npm run docs:dev\r\nFor build - npm run docs:build\r\n\r\nEquivalent stackblitz links:\r\n[https://stackblitz.com/edit/vite-dkrbry](https://stackblitz.com/edit/vite-dkrbry)\r\n\r\n### Expected behavior\r\n\r\nProduction should match with development.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\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 npmPackages:\r\n vitepress: latest => 1.0.0-rc.35\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] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\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.",[2944],{"name":2885,"color":2886},3425," XXX is not supported resolving ES modules imported from XXX","2024-01-18T00:04:43Z","https://github.com/vuejs/vitepress/issues/3425",0.6877013,{"description":2951,"labels":2952,"number":2954,"owner":2874,"repository":2875,"state":2888,"title":2955,"updated_at":2956,"url":2957,"score":2958},"### Describe the bug\n\nindex.md not support markdown\n\n### Reproduction\n\n\"I'm encountering an issue with VitePress where Markdown syntax in my index.md file doesn't seem to apply the expected styles on the homepage, whereas in VuePress, this works as anticipated. For instance, if I wish to include some introductory text on the main page and then guide users to the navigation bar, it appears that I need to manually write the CSS styles. Why can't I utilize Markdown for styling in this case?\"\n\n### Expected behavior\n\n\"I'm encountering an issue with VitePress where Markdown syntax in my index.md file doesn't seem to apply the expected styles on the homepage, whereas in VuePress, this works as anticipated. For instance, if I wish to include some introductory text on the main page and then guide users to the navigation bar, it appears that I need to manually write the CSS styles. Why can't I utilize Markdown for styling in this case?\"\n\n### System Info\n\n```Text\n\"I'm encountering an issue with VitePress where Markdown syntax in my index.md file doesn't seem to apply the expected styles on the homepage, whereas in VuePress, this works as anticipated. For instance, if I wish to include some introductory text on the main page and then guide users to the navigation bar, it appears that I need to manually write the CSS styles. Why can't I utilize Markdown for styling in this case?\"\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.",[2953],{"name":2885,"color":2886},3409,"index.md","2024-01-13T00:04:51Z","https://github.com/vuejs/vitepress/issues/3409",0.6879287,{"description":2960,"labels":2961,"number":1911,"owner":2874,"repository":2875,"state":2888,"title":2963,"updated_at":2964,"url":2965,"score":2966},"\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\nA clear and concise description of what the bug is.\r\n\r\n1. Add frontmatter to index.md\r\n\r\n```\r\n---\r\ntitle: My Docs Site\r\n---\r\n\r\n# {{ $frontmatter.title }}\r\n```\r\n\r\nThis does not render as expected.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior:\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\n**System Info**\r\n- vitepress version: v0.4.0\r\n- vite version: v1.0.0-beta.1\r\n- Node version: v12.16.1\r\n- OS version: macOS 10.15.5\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n",[2962],{"name":2885,"color":2886},"Frontmatter is not accessible in markdown","2023-01-21T16:25:39Z","https://github.com/vuejs/vitepress/issues/31",0.6898579,["Reactive",2968],{},["Set"],["ShallowReactive",2971],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fcmfW0-6C-pmIfL4jrhRahpaMR8ljyzzAODiShAkb0Lc":-1},"/vuejs/vitepress/2154"]