\r\n## Microsoft edge\r\n\r\n## safari\r\n\r\n\r\n# mywebsite\r\n## Microsoft edge\r\n\r\n## safari\r\n\r\n\n\n### Reproduction\n\nLastUpdated在Safari上不显示\n\n### Expected behavior\n\nLastUpdated应当在Safari上显示\n\n### System Info\n\n```Text\nMicrosoft Edge\r\n版本 126.0.2592.61 (正式版本) (64 位)\r\n\r\niOS 17.5.1\n```\n\n\n### Additional context\n\nlastUpdated: {\r\n\t\t\ttext: '上次更新时间',\r\n\t\t\tformatOptions: {\r\n\t\t\t\tlocaleMatcher: \"best fit\",\r\n\t\t\t\tweekday: undefined,\r\n\t\t\t\tera: undefined,\r\n\t\t\t\tyear: \"numeric\",\r\n\t\t\t\tmonth: \"long\",\r\n\t\t\t\tday: \"numeric\",\r\n\t\t\t\thour: \"numeric\",\r\n\t\t\t\tminute: \"numeric\",\r\n\t\t\t\tsecond: undefined,\r\n\t\t\t\ttimeZoneName: \"longGeneric\",\r\n\t\t\t\tformatMatcher: \"best fit\",\r\n\t\t\t\thour12: true,\r\n\t\t\t\ttimeZone: \"Asia/Chongqing\"\r\n\t\t\t}\r\n\t\t},\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.",[3070],{"name":3071,"color":3072},"need more info","bdbefc",3974,"LastUpdated在Safari上不显示","2024-06-29T04:41:46Z","https://github.com/vuejs/vitepress/issues/3974",0.7098432,{"description":3079,"labels":3080,"number":3084,"owner":3024,"repository":3025,"state":3062,"title":3085,"updated_at":3086,"url":3087,"score":3088},"### Describe the bug\n\n\r\n\r\nno Ctrl+Space autocomplete on anything in the `export default { ... }` block in `theme/index.ts`\r\n\r\n```ts\r\n// https://vitepress.dev/guide/custom-theme\r\nimport { h } from 'vue'\r\nimport Theme from 'vitepress/theme'\r\nimport './style.css'\r\n\r\nexport default {\r\n extends: Theme,\r\n Layout: () => {\r\n return h(Theme.Layout, null, {\r\n // https://vitepress.dev/guide/extending-default-theme#layout-slots\r\n })\r\n },\r\n enhanceApp({ app, router, siteData }) {\r\n // ...\r\n app.\r\n // ^ NO autocomplete here 😢\r\n }\r\n}\r\n```\n\n### Reproduction\n\nhttps://stackblitz.com/edit/vite-bjyf4o?file=.vitepress%2Ftheme%2Findex.ts\n\n### Expected behavior\n\n\r\n\n\n### System Info\n\n```Text\nSystem:\r\n OS: Linux 5.0 undefined\r\n CPU: (2) 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.9.2 - /usr/local/bin/pnpm\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.22 => 1.0.0-rc.22\n```\n\n\n### Additional context\n\ni think the solution is to add a `satisfies import('vitepress').Theme` or similar in the docs examples and in the `vitepress init` wizard\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.",[3081],{"name":3082,"color":3083},"contribution welcome","11E4B8",3116,"no autocomplete on enhanceApp() or other things in theme/index.ts export default","2023-10-30T00:04:37Z","https://github.com/vuejs/vitepress/issues/3116",0.7118198,{"description":3090,"labels":3091,"number":3093,"owner":3024,"repository":3025,"state":3062,"title":3094,"updated_at":3095,"url":3096,"score":3097},"### Describe the bug\n\nMy project add network request, But I need different environment variables control the request address, how should I use env in vite\r\n\r\n[Env Variables](https://vitejs.dev/guide/env-and-mode.html#env-variables)\n\n### Reproduction\n\nNone\n\n### Expected behavior\n\nI want to be able to access `import.meta.env.BASE_URL`, just like the vite project\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12600KF\r\n Memory: 2.31 GB / 31.82 GB\r\n Binaries:\r\n Node: 18.19.0 - D:\\software\\nodejs\\node.EXE\r\n npm: 10.2.3 - D:\\software\\nodejs\\npm.CMD\r\n pnpm: 9.1.1 - ~\\AppData\\Local\\pnpm\\pnpm.CMD\r\n bun: 1.1.3 - ~\\.bun\\bin\\bun.EXE\r\n Browsers:\r\n Edge: Chromium (123.0.2420.97)\r\n Internet Explorer: 11.0.22621.3527\r\n npmPackages:\r\n vitepress: 1.0.2 => 1.0.2\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.",[3092],{"name":3071,"color":3072},3896,"How to using Vite Env Variables?","2024-05-24T04:42:25Z","https://github.com/vuejs/vitepress/issues/3896",0.7134399,{"description":3099,"labels":3100,"number":3101,"owner":3024,"repository":3025,"state":3062,"title":3102,"updated_at":3103,"url":3104,"score":3105},"### Describe the bug\n\nTrying to build with `vite.build.ssr = false`, but it appears that VitePress continues to bundle everything as if preparing it to be served with a backend.\n\n### Reproduction\n\nBuild VitePress with `vite.build.ssr = false`\n\n### Expected behavior\n\nPaths will become absolute and referenced modules will be bundled with the dist, unless excluded with `rollupOptions.external`.\n\n### System Info\n\n```Text\nSystem:\r\n OS: macOS 13.5.1\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz\r\n Memory: 487.25 MB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\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.8.1 - /usr/local/bin/npm\r\n pnpm: 8.7.6 - /usr/local/bin/pnpm\r\n Browsers:\r\n Safari: 16.6\r\n Firefox: 118.0.2\r\n Chrome: 118.0.5993.117\r\n npmPackages:\r\n vitepress: 1.0.0-rc.14 => 1.0.0-rc.14\n```\n\n\n### Additional context\n\nVitePress should respect disabling `SSR` to allow for hosting via CDN.\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.",[],3162,"VitePress does not honor `vite.build.ssr = false`","2023-12-03T00:04:50Z","https://github.com/vuejs/vitepress/issues/3162",0.7180268,{"description":3107,"labels":3108,"number":3110,"owner":3024,"repository":3025,"state":3062,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Describe the bug\n\nbuild error: TypeError: _ctx.a is not a function.\r\n\r\n\r\n\n\n### Reproduction\n\nYou can paste the follow txt in the markdown:\r\n\r\n```md\r\n$S_n = \\frac{{a(1 - r^n)}}{{1 - r}}$\r\n```\r\n\r\nand you will recevied a build error.\r\n\r\nBut, other Math Equations can normally build, like:\r\n\r\n```md\r\n$S_N$\r\n```\n\n### Expected behavior\n\nNormal output page, even if it does not render mathematical formulas.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (12) x64 AMD Ryzen 5 4600H with Radeon Graphics\r\n Memory: 6.04 GB / 15.37 GB\r\n Binaries:\r\n Node: 20.11.1 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 10.5.0 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.15.5 - C:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (123.0.2420.65)\r\n Internet Explorer: 11.0.19041.3636\r\n npmPackages:\r\n vitepress: ^1.0.1 => 1.0.1\n```\n\n\n### Additional context\n\nWhen I follow the step of [math-equations - docs] the error disappeared. \r\n\r\n\r\n[math-equations - docs]: https://vitepress.dev/guide/markdown#math-equations\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.",[3109],{"name":3059,"color":3060},3728,"build error: TypeError: _ctx.a is not a function","2024-04-28T12:25:17Z","https://github.com/vuejs/vitepress/issues/3728",0.72585946,{"description":3116,"labels":3117,"number":3118,"owner":3024,"repository":3025,"state":3062,"title":3119,"updated_at":3120,"url":3121,"score":3122},"### Is your feature request related to a problem? Please describe.\n\nI use page hrefs in dynamic `\u003Cmeta>` tags, for example in `og:url`. It'd be great if VitePress provided a way to reliably reference the page's pathname, to ensure that that part of the dynamic meta content is correct.\n\n### Describe the solution you'd like\n\nExport this function: https://github.com/vuejs/vitepress/blob/452d6c77a6afa43faa245452e7d0b360e55a36fb/src/shared/shared.ts#L65\r\n\n\n### Describe alternatives you've considered\n\nCurrently, I copy `normalize`, `HASH_OR_QUERY_RE`, and `INDEX_OR_EXT_RE` from `src/shared/shared.ts` to my VitePress config. That's brittle and inelegant.\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.",[],4401,"feature request: export src/shared/shared's normalize()","2025-01-28T04:42:53Z","https://github.com/vuejs/vitepress/issues/4401",0.7294677,["Reactive",3124],{},["Set"],["ShallowReactive",3127],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fkenpGLx-Q29gM7X95MZkdHrcUYDzqudg3Tyki_T_8gQ":-1},"/vuejs/vitepress/3876"]