[
  {
    "path": ".dockerignore",
    "content": "node_modules\ndist\n"
  },
  {
    "path": ".editorconfig",
    "content": "root = true\n\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 2\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n"
  },
  {
    "path": ".github/FUNDING.yml",
    "content": "open_collective: antfu\ngithub: [antfu]\n"
  },
  {
    "path": ".github/workflows/ci.yml",
    "content": "name: CI\n\non:\n  push:\n    branches:\n      - main\n\n  pull_request:\n    branches:\n      - main\n\njobs:\n  lint:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v3\n      - uses: actions/setup-node@v4\n        with:\n          node-version: lts/*\n          cache: pnpm\n\n      - name: Install\n        run: pnpm install\n\n      - name: Lint\n        run: pnpm run lint\n\n  typecheck:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v3\n      - uses: actions/setup-node@v4\n        with:\n          node-version: lts/*\n          cache: pnpm\n\n      - name: Install\n        run: pnpm install\n\n      - name: Typecheck\n        run: pnpm run typecheck\n\n  test:\n    runs-on: ${{ matrix.os }}\n\n    strategy:\n      matrix:\n        node-version: [20.x, 22.x]\n        os: [ubuntu-latest]\n      fail-fast: false\n\n    steps:\n      - uses: actions/checkout@v4\n      - uses: pnpm/action-setup@v3\n      - name: Use Node.js ${{ matrix.node-version }}\n        uses: actions/setup-node@v4\n        with:\n          node-version: ${{ matrix.node-version }}\n          registry-url: https://registry.npmjs.org/\n          cache: pnpm\n\n      - run: pnpm install\n      - run: pnpm run test:unit\n\n  test-e2e:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n      - uses: actions/cache@v4\n        with:\n          path: |\n            ~/.cache\n          key: cypress-cache-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}\n\n      - uses: pnpm/action-setup@v3\n\n      - name: Use Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: lts/*\n          registry-url: https://registry.npmjs.org/\n          cache: pnpm\n\n      - run: pnpm install\n\n      - name: Cypress PNPM Patch\n        run: cp pnpm-lock.yaml package-lock.json\n\n      - name: Cypress\n        uses: cypress-io/github-action@v6\n        with:\n          install-command: echo\n          build: pnpm run build\n          start: npx vite preview --port 3333\n"
  },
  {
    "path": ".gitignore",
    "content": ".DS_Store\n.vite-ssg-dist\n.vite-ssg-temp\n*.local\ndist\ndist-ssr\nnode_modules\n.idea/\n*.log\ncypress/downloads\npublic/assets/fonts\n"
  },
  {
    "path": ".npmrc",
    "content": "shamefully-hoist=true\n"
  },
  {
    "path": ".vscode/extensions.json",
    "content": "{\n  \"recommendations\": [\n    \"antfu.iconify\",\n    \"antfu.unocss\",\n    \"antfu.vite\",\n    \"antfu.goto-alias\",\n    \"csstools.postcss\",\n    \"dbaeumer.vscode-eslint\",\n    \"vue.volar\",\n    \"lokalise.i18n-ally\",\n    \"streetsidesoftware.code-spell-checker\"\n  ]\n}\n"
  },
  {
    "path": ".vscode/settings.json",
    "content": "{\n  \"cSpell.words\": [\"Vitesse\", \"Vite\", \"unocss\", \"vitest\", \"vueuse\", \"pinia\", \"demi\", \"antfu\", \"iconify\", \"intlify\", \"vitejs\", \"unplugin\", \"pnpm\"],\n  \"i18n-ally.sourceLanguage\": \"en\",\n  \"i18n-ally.keystyle\": \"nested\",\n  \"i18n-ally.localesPaths\": \"locales\",\n  \"i18n-ally.sortKeys\": true,\n\n  // Disable the default formatter\n  \"prettier.enable\": false,\n  \"editor.formatOnSave\": false,\n\n  // Auto fix\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": \"explicit\",\n    \"source.organizeImports\": \"never\"\n  },\n\n  // Silent the stylistic rules in you IDE, but still auto fix them\n  \"eslint.rules.customizations\": [\n    { \"rule\": \"style/*\", \"severity\": \"off\" },\n    { \"rule\": \"format/*\", \"severity\": \"off\" },\n    { \"rule\": \"*-indent\", \"severity\": \"off\" },\n    { \"rule\": \"*-spacing\", \"severity\": \"off\" },\n    { \"rule\": \"*-spaces\", \"severity\": \"off\" },\n    { \"rule\": \"*-order\", \"severity\": \"off\" },\n    { \"rule\": \"*-dangle\", \"severity\": \"off\" },\n    { \"rule\": \"*-newline\", \"severity\": \"off\" },\n    { \"rule\": \"*quotes\", \"severity\": \"off\" },\n    { \"rule\": \"*semi\", \"severity\": \"off\" }\n  ],\n\n  // The following is optional.\n  // It's better to put under project setting `.vscode/settings.json`\n  // to avoid conflicts with working with different eslint configs\n  // that does not support all formats.\n  \"eslint.validate\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"jsonc\",\n    \"yaml\"\n  ]\n}\n"
  },
  {
    "path": "Dockerfile",
    "content": "FROM node:20-alpine AS build-stage\n\nWORKDIR /app\nRUN corepack enable\n\nCOPY .npmrc package.json pnpm-lock.yaml pnpm-workspace.yaml ./\nRUN --mount=type=cache,id=pnpm-store,target=/root/.pnpm-store \\\n    pnpm install --frozen-lockfile\n\nCOPY . .\nRUN pnpm build\n\nFROM nginx:stable-alpine AS production-stage\n\nCOPY --from=build-stage /app/dist /usr/share/nginx/html\nEXPOSE 80\n\nCMD [\"nginx\", \"-g\", \"daemon off;\"]\n"
  },
  {
    "path": "LICENSE",
    "content": "MIT License\n\nCopyright (c) 2020-PRESENT Anthony Fu\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n"
  },
  {
    "path": "README.md",
    "content": "<p align='center'>\n  <img src='https://user-images.githubusercontent.com/11247099/154486817-f86b8f20-5463-4122-b6e9-930622e757f2.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/>\n</p>\n\n<p align='center'>\nMocking up web app with <b>Vitesse</b><sup><em>(speed)</em></sup><br>\n</p>\n\n<br>\n\n<p align='center'>\n<a href=\"https://vitesse.netlify.app/\">Live Demo</a>\n</p>\n\n<br>\n\n> **Note**: This template is created during the early transition of Vue 3 and Vite. At this moment, if you are seeking for better Vue developer experience and more consistent maintenance, we recommend using [Nuxt](https://nuxt.com) instead (it also works perfectly with SPA or SSG as needed). This template still serves as a reference, but expect slower updates.\n\n<br>\n\n<p align='center'>\n<b>English</b> | <a href=\"https://github.com/antfu-collective/vitesse/blob/main/README.zh-CN.md\">简体中文</a>\n<!-- Contributors: Thanks for getting interested, however we DON'T accept new translations to the README, thanks. -->\n</p>\n\n<br>\n\n## Features\n\n- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - born with fastness\n\n- 🗂 [File based routing](./src/pages)\n\n- 📦 [Components auto importing](./src/components)\n\n- 🍍 [State Management via Pinia](https://pinia.vuejs.org/)\n\n- 📑 [Layout system](./src/layouts)\n\n- 📲 [PWA](https://github.com/antfu/vite-plugin-pwa)\n\n- 🎨 [UnoCSS](https://github.com/antfu/unocss) - the instant on-demand atomic CSS engine\n\n- 😃 [Use icons from any icon sets with classes](https://github.com/antfu/unocss/tree/main/packages/preset-icons)\n\n- 🌍 [I18n ready](./locales)\n\n- 🔎 [Component Preview](https://github.com/johnsoncodehk/vite-plugin-vue-component-preview)\n\n- 🗒 [Markdown Support](https://github.com/unplugin/unplugin-vue-markdown)\n\n- 🔥 Use the [new `<script setup>` syntax](https://github.com/vuejs/rfcs/pull/227)\n\n- 📥 [APIs auto importing](https://github.com/antfu/unplugin-auto-import) - use Composition API and others directly\n\n- 🖨 Static-site generation (SSG) via [vite-ssg](https://github.com/antfu/vite-ssg)\n\n- 🦔 Critical CSS via [beasties](https://github.com/danielroe/beasties)\n\n- 🦾 TypeScript, of course\n\n- ⚙️ Unit Testing with [Vitest](https://github.com/vitest-dev/vitest), E2E Testing with [Cypress](https://cypress.io/) on [GitHub Actions](https://github.com/features/actions)\n\n- ☁️ Deploy on Netlify, zero-config\n\n<br>\n\n## Pre-packed\n\n### UI Frameworks\n\n- [UnoCSS](https://github.com/antfu/unocss) - The instant on-demand atomic CSS engine.\n\n### Icons\n\n- [Iconify](https://iconify.design) - use icons from any icon sets [🔍Icônes](https://icones.netlify.app/)\n- [Pure CSS Icons via UnoCSS](https://github.com/antfu/unocss/tree/main/packages/preset-icons)\n\n### Plugins\n\n- [Vue Router](https://github.com/vuejs/router)\n  - [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - file system based routing\n  - [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - layouts for pages\n- [Pinia](https://pinia.vuejs.org) - Intuitive, type safe, light and flexible Store for Vue using the composition api\n- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - components auto import\n- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - Directly use Vue Composition API and others without importing\n- [`unplugin-vue-macros`](https://github.com/sxzz/unplugin-vue-macros) - Explore and extend more macros and syntax sugar to Vue.\n- [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA\n- [`unplugin-vue-markdown`](https://github.com/unplugin/unplugin-vue-markdown) - Markdown as components / components in Markdown\n  - [`@shikijs/markdown-it`](https://github.com/shikijs/shiki) - [Shiki](https://github.com/shikijs/shiki) for syntax highlighting\n- [Vue I18n](https://github.com/intlify/vue-i18n-next) - Internationalization\n  - [`unplugin-vue-i18n`](https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n) - unplugin for Vue I18n\n- [VueUse](https://github.com/antfu/vueuse) - collection of useful composition APIs\n- [`vite-ssg-sitemap`](https://github.com/jbaubree/vite-ssg-sitemap) - Sitemap generator\n- [`@unhead/vue v2`](https://github.com/unjs/unhead) - manipulate document head reactively\n- [`vite-plugin-vue-devtools`](https://github.com/vuejs/devtools-next) - Designed to enhance the Vue developer experience.\n\n### Coding Style\n\n- Use Composition API with [`<script setup>` SFC syntax](https://github.com/vuejs/rfcs/pull/227)\n- [ESLint](https://eslint.org/) with [@antfu/eslint-config](https://github.com/antfu/eslint-config), single quotes, no semi.\n\n### Dev tools\n\n- [TypeScript](https://www.typescriptlang.org/)\n- [Vitest](https://github.com/vitest-dev/vitest) - Unit testing powered by Vite\n- [Cypress](https://cypress.io/) - E2E testing\n- [pnpm](https://pnpm.js.org/) - fast, disk space efficient package manager\n- [`vite-ssg`](https://github.com/antfu/vite-ssg) - Static-site generation\n  - [beasties](https://github.com/danielroe/beasties) - Critical CSS\n- [Netlify](https://www.netlify.com/) - zero-config deployment\n- [VS Code Extensions](./.vscode/extensions.json)\n  - [Vite](https://marketplace.visualstudio.com/items?itemName=antfu.vite) - Fire up Vite server automatically\n  - [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) - Vue 3 `<script setup>` IDE support\n  - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify) - Icon inline display and autocomplete\n  - [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) - All in one i18n support\n  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\n## Variations\n\nAs this template is strongly opinionated, the following provides a curated list for community-maintained variations with different preferences and feature sets. Check them out as well. PR to add yours is also welcome!\n\n###### Official\n\n- [vitesse-lite](https://github.com/antfu/vitesse-lite) - Lightweight version of Vitesse\n- [vitesse-nuxt3](https://github.com/antfu/vitesse-nuxt3) - Vitesse for Nuxt 3\n- [vitesse-nuxt-bridge](https://github.com/antfu/vitesse-nuxt-bridge) - Vitesse for Nuxt 2 with Bridge\n- [vitesse-webext](https://github.com/antfu/vitesse-webext) - WebExtension Vite starter template\n\n###### Community\n\n- [vitesse-ssr-template](https://github.com/frandiox/vitesse-ssr-template) by [@frandiox](https://github.com/frandiox) - Vitesse with SSR\n- [vitailse](https://github.com/zynth17/vitailse) by [@zynth17](https://github.com/zynth17) - Like Vitesse but with TailwindCSS\n- [vitesse-modernized-chrome-ext](https://github.com/xiaoluoboding/vitesse-modernized-chrome-ext) by [@xiaoluoboding](https://github.com/xiaoluoboding) - ⚡️ Modernized Chrome Extension Manifest V3 Vite Starter Template\n- [vitesse-stackter-clean-architect](https://github.com/shamscorner/vitesse-stackter-clean-architect) by [@shamscorner](https://github.com/shamscorner) - A modular clean architecture pattern in vitesse template\n- [vitesse-enterprise](https://github.com/FranciscoKloganB/vitesse-enterprise) by [@FranciscoKloganB](https://github.com/FranciscoKloganB) - Consistent coding styles regardless of team-size.\n- [vitecamp](https://github.com/nekobc1998923/vitecamp) by [@nekobc1998923](https://github.com/nekobc1998923) - Like Vitesse but without SSG/SSR/File based routing, includes Element Plus\n- [vitesse-h5](https://github.com/YunYouJun/vitesse-h5) by [@YunYouJun](https://github.com/YunYouJun) - Vitesse for Mobile\n- [bat](https://github.com/olgam4/bat) by [@olgam4](https://github.com/olgam4) - Vitesse for SolidJS\n- [vitesse-solid](https://github.com/xbmlz/vitesse-solid) by [@xbmlz](https://github.com/xbmlz) - Vitesse for SolidJS, build with [`SolidStart`](https://start.solidjs.com/), includes [UnoCSS](https://github.com/unocss/unocss).\n- [vue3-vant-mobile](https://github.com/easy-temps/vue3-vant-mobile) by [CharleeWa](https://github.com/CharleeWa) - Like Vitesse but without SSG/SSR, includes Vant\n\n## Try it now!\n\n> Vitesse requires Node >=14.18\n\n### GitHub Template\n\n[Create a repo from this template on GitHub](https://github.com/antfu-collective/vitesse/generate).\n\n### Clone to local\n\nIf you prefer to do it manually with the cleaner git history\n\n```bash\nnpx degit antfu-collective/vitesse my-vitesse-app\ncd my-vitesse-app\npnpm i # If you don't have pnpm installed, run: npm install -g pnpm\n```\n\n## Checklist\n\nWhen you use this template, try follow the checklist to update your info properly\n\n- [ ] Change the author name in `LICENSE`\n- [ ] Change the title in `App.vue`\n- [ ] Change the hostname in `vite.config.ts`\n- [ ] Change the favicon in `public`\n- [ ] Remove the `.github` folder which contains the funding info\n- [ ] Clean up the READMEs and remove routes\n\nAnd, enjoy :)\n\n## Usage\n\n### Development\n\nJust run and visit http://localhost:3333\n\n```bash\npnpm dev\n```\n\n### Build\n\nTo build the App, run\n\n```bash\npnpm build\n```\n\nAnd you will see the generated file in `dist` that ready to be served.\n\n### Deploy on Netlify\n\nGo to [Netlify](https://app.netlify.com/start) and select your clone, `OK` along the way, and your App will be live in a minute.\n\n### Docker Production Build\n\nFirst, build the vitesse image by opening the terminal in the project's root directory.\n\n```bash\ndocker buildx build . -t vitesse:latest\n```\n\nRun the image and specify port mapping with the `-p` flag.\n\n```bash\ndocker run --rm -it -p 8080:80 vitesse:latest\n```\n\n## Why\n\nI have created several Vite apps recently. Setting the configs up is kinda the bottleneck for me to make the ideas simply come true within a very short time.\n\nSo I made this starter template for myself to create apps more easily, along with some good practices that I have learned from making those apps. It's strongly opinionated, but feel free to tweak it or even maintain your own forks. [(see community maintained variation forks)](#variations)\n"
  },
  {
    "path": "README.zh-CN.md",
    "content": "<p align='center'>\n  <img src='https://user-images.githubusercontent.com/11247099/154486817-f86b8f20-5463-4122-b6e9-930622e757f2.png' alt='Vitesse - Opinionated Vite Starter Template' width='600'/>\n</p>\n\n<p align='center'>\n快速地<sup><em>Vitesse</em></sup> 创建 Web 应用\n<br>\n</p>\n\n<br>\n\n<p align='center'>\n<a href=\"https://vitesse.netlify.app/\">在线 Demo</a>\n</p>\n\n<br>\n\n> **Note**: 本模板创建于 Vue 3 和 Vite 的早期过渡时期。目前，如果您正在寻求更好的 Vue 开发体验和更持续的维护，我们建议您使用 [Nuxt 3](https://nuxt.com) 来代替（它也可以根据需要使用 SPA 或 SSG）。本模板仍会作为参考缓慢地维护下去，但将不会有太多的更新。\n\n<br>\n\n<p align='center'>\n<a href=\"https://github.com/antfu-collective/vitesse/blob/main/README.md\">English</a> | <b>简体中文</b>\n</p>\n\n<br>\n\n## 特性\n\n- ⚡️ [Vue 3](https://github.com/vuejs/core), [Vite](https://github.com/vitejs/vite), [pnpm](https://pnpm.io/), [esbuild](https://github.com/evanw/esbuild) - 就是快！\n\n- 🗂 [基于文件的路由](./src/pages)\n\n- 📦 [组件自动化加载](./src/components)\n\n- 🍍 [使用 Pinia 的状态管理](https://pinia.vuejs.org)\n\n- 📑 [布局系统](./src/layouts)\n\n- 📲 [PWA](https://github.com/antfu/vite-plugin-pwa)\n\n- 🎨 [UnoCSS](https://github.com/unocss/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎\n\n- 😃 [各种图标集为你所用](https://github.com/antfu/unocss/tree/main/packages/preset-icons)\n\n- 🌍 [I18n 国际化开箱即用](./locales)\n\n- 🗒 [Markdown 支持](https://github.com/unplugin/unplugin-vue-markdown)\n\n- 🔥 使用 [新的 `<script setup>` 语法](https://github.com/vuejs/rfcs/pull/227)\n\n- 📥 [API 自动加载](https://github.com/unplugin/unplugin-auto-import) - 直接使用 Composition API 无需引入\n\n- 🖨 使用 [vite-ssg](https://github.com/antfu/vite-ssg) 进行服务端生成 (SSG)\n\n- 🦔 使用 [beasties](https://github.com/danielroe/beasties) 的生成关键 CSS\n\n- 🦾 TypeScript, 当然\n\n- ⚙️ 结合 [GitHub Actions](https://github.com/features/actions)，使用 [Vitest](https://github.com/vitest-dev/vitest) 进行单元测试, [Cypress](https://cypress.io/) 进行 E2E 测试\n\n- ☁️ 零配置部署 Netlify\n\n<br>\n\n## 预配置\n\n### UI 框架\n\n- [UnoCSS](https://github.com/antfu/unocss) - 高性能且极具灵活性的即时原子化 CSS 引擎\n\n### Icons\n\n- [Iconify](https://iconify.design) - 使用任意的图标集，浏览：[🔍Icônes](https://icones.netlify.app/)\n- [UnoCSS 的纯 CSS 图标方案](https://github.com/antfu/unocss/tree/main/packages/preset-icons)\n\n### 插件\n\n- [Vue Router](https://github.com/vuejs/router)\n  - [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) - 以文件系统为基础的路由\n  - [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts) - 页面布局系统\n- [Pinia](https://pinia.vuejs.org) - 直接的, 类型安全的, 使用 Composition API 的轻便灵活的 Vue 状态管理\n- [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components) - 自动加载组件\n- [`unplugin-auto-import`](https://github.com/antfu/unplugin-auto-import) - 直接使用 Composition API 等，无需导入\n- [`vite-plugin-pwa`](https://github.com/antfu/vite-plugin-pwa) - PWA\n- [`unplugin-vue-markdown`](https://github.com/unplugin/unplugin-vue-markdown) - Markdown 作为组件，也可以让组件在 Markdown 中使用\n  - [`markdown-it-prism`](https://github.com/jGleitz/markdown-it-prism) - [Prism](https://prismjs.com/) 的语法高亮\n  - [`prism-theme-vars`](https://github.com/antfu/prism-theme-vars) - 利用 CSS 变量自定义 Prism.js 的主题\n- [Vue I18n](https://github.com/intlify/vue-i18n-next) - 国际化\n  - [`unplugin-vue-i18n`](https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n) - Vue I18n 的 Vite 插件\n- [VueUse](https://github.com/antfu/vueuse) - 实用的 Composition API 工具合集\n- [`vite-ssg-sitemap`](https://github.com/jbaubree/vite-ssg-sitemap) - 站点地图生成器\n- [`@vueuse/head`](https://github.com/vueuse/head) - 响应式地操作文档头信息\n- [`vite-plugin-vue-devtools`](https://github.com/webfansplz/vite-plugin-vue-devtools) - 旨在增强Vue开发者体验的Vite插件\n\n### 编码风格\n\n- 使用 Composition API 地 [`<script setup>` SFC 语法](https://github.com/vuejs/rfcs/pull/227)\n- [ESLint](https://eslint.org/) 配置为 [@antfu/eslint-config](https://github.com/antfu/eslint-config), 单引号, 无分号.\n\n### 开发工具\n\n- [TypeScript](https://www.typescriptlang.org/)\n- [Vitest](https://github.com/vitest-dev/vitest) - 基于 Vite 的单元测试框架\n- [Cypress](https://cypress.io/) - E2E 测试\n- [pnpm](https://pnpm.js.org/) - 快, 节省磁盘空间的包管理器\n- [`vite-ssg`](https://github.com/antfu/vite-ssg) - 服务端生成\n  - [beasties](https://github.com/danielroe/beasties) - 关键 CSS 生成器\n- [Netlify](https://www.netlify.com/) - 零配置的部署\n- [VS Code 扩展](./.vscode/extensions.json)\n  - [Vite](https://marketplace.visualstudio.com/items?itemName=antfu.vite) - 自动启动 Vite 服务器\n  - [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) - Vue 3 `<script setup>` IDE 支持\n  - [Iconify IntelliSense](https://marketplace.visualstudio.com/items?itemName=antfu.iconify) - 图标内联显示和自动补全\n  - [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally) - 多合一的 I18n 支持\n  - [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n\n## 衍生项目\n\n由于这个模板的业务场景非常的局限，下面提供了一个精心策划的列表，列出了社区维护的具有不同偏好和功能集的衍生项目。也可以看看他们。当然也欢迎你 PR 提供自己的项目！\n\n###### 官方\n\n- [vitesse-lite](https://github.com/antfu/vitesse-lite) - Vitesse 的轻量版本\n- [vitesse-nuxt3](https://github.com/antfu/vitesse-nuxt3) - Vitesse 的 Nuxt 3 版本\n- [vitesse-nuxt-bridge](https://github.com/antfu/vitesse-nuxt-bridge) - Vitesse 的 Nuxt2 桥接版本\n- [vitesse-webext](https://github.com/antfu/vitesse-webext) - 开箱即用的浏览器扩展 vite 模板\n\n###### 社区\n\n[查看英文版](./README.md#community)\n\n## 现在可以试试!\n\n> Vitesse 需要 Node 版本 >=14.18\n\n### GitHub 模板\n\n[使用这个模板创建仓库](https://github.com/antfu-collective/vitesse/generate).\n\n### 克隆到本地\n\n如果您更喜欢使用更干净的 git 历史记录手动执行此操作\n\n```bash\nnpx degit antfu-collective/vitesse my-vitesse-app\ncd my-vitesse-app\npnpm i # 如果你没装过 pnpm, 可以先运行: npm install -g pnpm\n```\n\n## 清单\n\n使用此模板时，请尝试按照清单正确更新您自己的信息\n\n- [ ] 在 `LICENSE` 中改变作者名\n- [ ] 在 `App.vue` 中改变标题\n- [ ] 在 `vite.config.ts` 更改主机名\n- [ ] 在 `public` 目录下改变favicon\n- [ ] 移除 `.github` 文件夹中包含资助的信息\n- [ ] 整理 README 并删除路由\n\n紧接着, 享受吧 :)\n\n## 使用\n\n### 开发\n\n只需要执行以下命令就可以在 http://localhost:3333 中看到\n\n```bash\npnpm dev\n```\n\n### 构建\n\n构建该应用只需要执行以下命令\n\n```bash\npnpm build\n```\n\n然后你会看到用于发布的 `dist` 文件夹被生成。\n\n### 部署到 Netlify\n\n前往 [Netlify](https://app.netlify.com/start) 并选择你的仓库, 一路 `OK` 下去，稍等一下后，你的应用将被创建.\n"
  },
  {
    "path": "cypress/e2e/basic.spec.ts",
    "content": "context('Basic', () => {\n  beforeEach(() => {\n    cy.visit('/')\n  })\n\n  it('basic nav', () => {\n    cy.url()\n      .should('eq', 'http://localhost:3333/')\n\n    cy.contains('[Home Layout]')\n      .should('exist')\n\n    cy.get('#input')\n      .type('Vitesse{Enter}')\n      .url()\n      .should('eq', 'http://localhost:3333/hi/Vitesse')\n\n    cy.contains('[Default Layout]')\n      .should('exist')\n\n    cy.get('[btn]')\n      .click()\n      .url()\n      .should('eq', 'http://localhost:3333/')\n  })\n\n  it('markdown', () => {\n    cy.get('[data-test-id=\"about\"]')\n      .click()\n      .url()\n      .should('eq', 'http://localhost:3333/about')\n\n    cy.get('.shiki')\n      .should('exist')\n  })\n})\n"
  },
  {
    "path": "cypress/tsconfig.json",
    "content": "{\n  \"extends\": \"../tsconfig.json\",\n  \"compilerOptions\": {\n    \"types\": [\n      \"cypress\"\n    ]\n  },\n  \"include\": [\n    \"**/*.ts\"\n  ],\n  \"exclude\": []\n}\n"
  },
  {
    "path": "cypress.config.ts",
    "content": "import { defineConfig } from 'cypress'\nimport vitePreprocessor from 'cypress-vite'\n\nexport default defineConfig({\n  e2e: {\n    baseUrl: 'http://localhost:3333',\n    chromeWebSecurity: false,\n    specPattern: 'cypress/e2e/**/*.spec.*',\n    supportFile: false,\n    setupNodeEvents(on) {\n      on('file:preprocessor', vitePreprocessor())\n    },\n  },\n})\n"
  },
  {
    "path": "eslint.config.js",
    "content": "// @ts-check\nimport antfu from '@antfu/eslint-config'\n\nexport default antfu(\n  {\n    unocss: true,\n    formatters: true,\n    pnpm: true,\n  },\n  {\n    files: ['README.md', 'README.zh-CN.md'],\n    rules: {\n      'markdown/heading-increment': 'off',\n    },\n  },\n)\n"
  },
  {
    "path": "index.html",
    "content": "<!doctype html>\n<html lang=\"en\">\n  <head>\n    <meta charset=\"UTF-8\" />\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n    <link rel=\"apple-touch-icon\" href=\"/pwa-192x192.png\" />\n    <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#00aba9\" />\n    <meta name=\"msapplication-TileColor\" content=\"#00aba9\" />\n    <script>\n      ;(function () {\n        const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches\n        const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'\n        if (setting === 'dark' || (prefersDark && setting !== 'light'))\n          document.documentElement.classList.toggle('dark', true)\n      })()\n    </script>\n  </head>\n  <body class=\"font-sans\">\n    <div id=\"app\"></div>\n    <script type=\"module\" src=\"/src/main.ts\"></script>\n    <noscript> This website requires JavaScript to function properly. Please enable JavaScript to continue. </noscript>\n  </body>\n</html>\n"
  },
  {
    "path": "locales/README.md",
    "content": "## i18n\n\nThis directory is to serve your locale translation files. YAML under this folder would be loaded automatically and register with their filenames as locale code.\n\nCheck out [`vue-i18n`](https://github.com/intlify/vue-i18n-next) for more details.\n\nIf you are using VS Code, [`i18n Ally`](https://github.com/lokalise/i18n-ally) is recommended to make the i18n experience better.\n"
  },
  {
    "path": "locales/ar.yml",
    "content": "button:\n  about: حول\n  back: رجوع\n  go: تجربة\n  home: الرئيسية\n  toggle_dark: التغيير إلى الوضع المظلم\n  toggle_langs: تغيير اللغة\nintro:\n  desc: vite مثال لتطبيق\n  dynamic-route: عرض لتوجيهات ديناميكية\n  hi: مرحبا {name}\n  aka: معروف أيضا تحت مسمى\n  whats-your-name: ما إسمك؟\nnot-found: صفحة غير موجودة\n"
  },
  {
    "path": "locales/de.yml",
    "content": "button:\n  about: Über\n  back: Zurück\n  go: Los\n  home: Startseite\n  toggle_dark: Dunkelmodus umschalten\n  toggle_langs: Sprachen ändern\nintro:\n  desc: Vite Startvorlage mit Vorlieben\n  dynamic-route: Demo einer dynamischen Route\n  hi: Hi, {name}!\n  aka: Auch bekannt als\n  whats-your-name: Wie heißt du?\nnot-found: Nicht gefunden\n"
  },
  {
    "path": "locales/en.yml",
    "content": "button:\n  about: About\n  back: Back\n  go: GO\n  home: Home\n  toggle_dark: Toggle dark mode\n  toggle_langs: Change languages\nintro:\n  desc: Opinionated Vite Starter Template\n  dynamic-route: Demo of dynamic route\n  hi: Hi, {name}!\n  aka: Also known as\n  whats-your-name: What's your name?\nnot-found: Not found\n"
  },
  {
    "path": "locales/es.yml",
    "content": "button:\n  about: Acerca de\n  back: Atrás\n  go: Ir\n  home: Inicio\n  toggle_dark: Alternar modo oscuro\n  toggle_langs: Cambiar idiomas\nintro:\n  desc: Plantilla de Inicio de Vite Dogmática\n  dynamic-route: Demo de ruta dinámica\n  hi: ¡Hola, {name}!\n  aka: También conocido como\n  whats-your-name: ¿Cómo te llamas?\nnot-found: No se ha encontrado\n"
  },
  {
    "path": "locales/fr.yml",
    "content": "button:\n  about: À propos\n  back: Retour\n  go: Essayer\n  home: Accueil\n  toggle_dark: Basculer en mode sombre\n  toggle_langs: Changer de langue\nintro:\n  desc: Exemple d'application Vite\n  dynamic-route: Démo de route dynamique\n  hi: Salut, {name}!\n  aka: Aussi connu sous le nom de\n  whats-your-name: Comment t'appelles-tu ?\nnot-found: Page non trouvée\n"
  },
  {
    "path": "locales/id.yml",
    "content": "button:\n  about: Tentang\n  back: Kembali\n  go: Pergi\n  home: Beranda\n  toggle_dark: Ubah ke mode gelap\n  toggle_langs: Ubah bahasa\nintro:\n  desc: Template awal vite\n  dynamic-route: Contoh rute dinamik\n  hi: Halo, {name}!\n  aka: Juga diketahui sebagai\n  whats-your-name: Siapa nama anda?\nnot-found: Tidak ditemukan\n"
  },
  {
    "path": "locales/it.yml",
    "content": "button:\n  about: Su di me\n  back: Indietro\n  go: Vai\n  home: Home\n  toggle_dark: Attiva/disattiva modalità scura\n  toggle_langs: Cambia lingua\nintro:\n  desc: Modello per una Applicazione Vite\n  dynamic-route: Demo di rotta dinamica\n  hi: Ciao, {name}!\n  whats-your-name: Come ti chiami?\nnot-found: Non trovato\n"
  },
  {
    "path": "locales/ja.yml",
    "content": "button:\n  about: これは？\n  back: 戻る\n  go: 進む\n  home: ホーム\n  toggle_dark: ダークモード切り替え\n  toggle_langs: 言語切り替え\nintro:\n  desc: 固執された Vite スターターテンプレート\n  dynamic-route: 動的ルートのデモ\n  hi: こんにちは、{name}!\n  whats-your-name: 君の名は。\nnot-found: 見つかりませんでした\n"
  },
  {
    "path": "locales/ka.yml",
    "content": "button:\n  about: შესახებ\n  back: უკან\n  go: დაწყება\n  home: მთავარი\n  toggle_dark: გადართე მუქი რეჟიმი\n  toggle_langs: ენის შეცვლა\nintro:\n  desc: Opinionated Vite Starter Template\n  dynamic-route: დინამიური როუტინგის დემო\n  hi: გამარჯობა, {name}!\n  aka: ასევე ცნობილი როგორც\n  whats-your-name: რა გქვია?\nnot-found: ვერ მოიძებნა\n"
  },
  {
    "path": "locales/ko.yml",
    "content": "button:\n  about: 소개\n  back: 뒤로가기\n  go: 이동\n  home: 홈\n  toggle_dark: 다크모드 토글\n  toggle_langs: 언어 변경\nintro:\n  desc: Vite 애플리케이션 템플릿\n  dynamic-route: 다이나믹 라우트 데모\n  hi: 안녕, {name}!\n  whats-your-name: 이름이 뭐예요?\nnot-found: 찾을 수 없습니다\n"
  },
  {
    "path": "locales/pl.yml",
    "content": "button:\n  about: O nas\n  back: Wróć\n  go: WEJDŹ\n  home: Strona główna\n  toggle_dark: Ustaw tryb nocny\n  toggle_langs: Zmień język\nintro:\n  desc: Opiniowany szablon startowy Vite\n  dynamic-route: Demonstracja dynamicznego route\n  hi: Cześć, {name}!\n  aka: Znany też jako\n  whats-your-name: Jak masz na imię?\nnot-found: Nie znaleziono\n"
  },
  {
    "path": "locales/pt-BR.yml",
    "content": "button:\n  about: Sobre\n  back: Voltar\n  go: Ir\n  home: Início\n  toggle_dark: Alternar modo escuro\n  toggle_langs: Mudar de idioma\nintro:\n  desc: Modelo Opinativo de Partida de Vite\n  dynamic-route: Demonstração de rota dinâmica\n  hi: Olá, {name}!\n  aka: Também conhecido como\n  whats-your-name: Qual é o seu nome?\nnot-found: Não encontrado\n"
  },
  {
    "path": "locales/ru.yml",
    "content": "button:\n  about: О шаблоне\n  back: Назад\n  go: Перейти\n  home: Главная\n  toggle_dark: Включить темный режим\n  toggle_langs: Сменить язык\nintro:\n  desc: Самостоятельный начальный шаблон Vite\n  dynamic-route: Демо динамического маршрута\n  hi: Привет, {name}!\n  whats-your-name: Как тебя зовут?\nnot-found: Не найден\n"
  },
  {
    "path": "locales/tr.yml",
    "content": "button:\n  about: Hakkımda\n  back: Geri\n  go: İLERİ\n  home: Anasayfa\n  toggle_dark: Karanlık modu değiştir\n  toggle_langs: Dilleri değiştir\nintro:\n  desc: Görüşlü Vite Başlangıç Şablonu\n  dynamic-route: Dinamik rota demosu\n  hi: Merhaba, {name}!\n  aka: Ayrıca şöyle bilinir\n  whats-your-name: Adınız nedir?\nnot-found: Bulunamadı\n"
  },
  {
    "path": "locales/uk.yml",
    "content": "button:\n  about: Про шаблон\n  back: Назад\n  go: Перейти\n  home: Головна\n  toggle_dark: Переключити темний режим\n  toggle_langs: Змінити мову\nintro:\n  desc: Самостійний початковий шаблон Vite\n  dynamic-route: Демо динамічного маршруту\n  hi: Привіт, {name}!\n  whats-your-name: Як тебе звати?\nnot-found: Не знайдено\n"
  },
  {
    "path": "locales/uz.yml",
    "content": "button:\n  about: Haqida\n  back: Orqaga\n  go: Kettik\n  home: Bosh sahifa\n  toggle_dark: Qorong‘i rejimga o‘tish\n  toggle_langs: Tilni o‘zgartirish\nintro:\n  desc: O‘ylangan boshlang‘ich Vite shabloni\n  dynamic-route: Dynamic route demo'si\n  hi: Assalomu alaykum, {name}!\n  aka: shuningdek\n  whats-your-name: Ismingiz nima?\nnot-found: Topilmadi\n"
  },
  {
    "path": "locales/vi.yml",
    "content": "button:\n  about: Về\n  back: Quay lại\n  go: Đi\n  home: Khởi đầu\n  toggle_dark: Chuyển đổi chế độ tối\n  toggle_langs: Thay đổi ngôn ngữ\nintro:\n  desc: Ý kiến cá nhân Vite Template để bắt đầu\n  dynamic-route: Bản giới thiệu về dynamic route\n  hi: Hi, {name}!\n  whats-your-name: Tên bạn là gì?\nnot-found: Không tìm thấy\n"
  },
  {
    "path": "locales/zh-CN.yml",
    "content": "button:\n  about: 关于\n  back: 返回\n  go: 确定\n  home: 首页\n  toggle_dark: 切换深色模式\n  toggle_langs: 切换语言\nintro:\n  desc: 固执己见的 Vite 项目模板\n  dynamic-route: 动态路由演示\n  hi: 你好，{name}\n  aka: 也叫\n  whats-your-name: 输入你的名字\nnot-found: 未找到页面\n"
  },
  {
    "path": "netlify.toml",
    "content": "[build]\npublish = \"dist\"\ncommand = \"pnpm run build\"\n\n[build.environment]\nNODE_VERSION = \"22\"\n\n[[redirects]]\nfrom = \"/*\"\nto = \"/index.html\"\nstatus = 200\n\n[[headers]]\nfor = \"/manifest.webmanifest\"\n\n[headers.values]\nContent-Type = \"application/manifest+json\"\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"type\": \"module\",\n  \"private\": true,\n  \"packageManager\": \"pnpm@10.30.2\",\n  \"scripts\": {\n    \"build\": \"vite-ssg build\",\n    \"dev\": \"vite --port 3333 --open\",\n    \"lint\": \"eslint .\",\n    \"preview\": \"vite preview\",\n    \"preview-https\": \"serve dist\",\n    \"test\": \"vitest\",\n    \"test:e2e\": \"cypress open\",\n    \"test:unit\": \"vitest\",\n    \"typecheck\": \"vue-tsc --noEmit\",\n    \"up\": \"taze major -I\",\n    \"postinstall\": \"npx simple-git-hooks\",\n    \"sizecheck\": \"npx vite-bundle-visualizer\"\n  },\n  \"dependencies\": {\n    \"@unhead/vue\": \"catalog:frontend\",\n    \"@unocss/reset\": \"catalog:frontend\",\n    \"@vueuse/core\": \"catalog:frontend\",\n    \"nprogress\": \"catalog:frontend\",\n    \"pinia\": \"catalog:frontend\",\n    \"vue\": \"catalog:frontend\",\n    \"vue-i18n\": \"catalog:frontend\",\n    \"vue-router\": \"catalog:frontend\"\n  },\n  \"devDependencies\": {\n    \"@antfu/eslint-config\": \"catalog:dev\",\n    \"@iconify-json/carbon\": \"catalog:dev\",\n    \"@intlify/unplugin-vue-i18n\": \"catalog:build\",\n    \"@shikijs/markdown-it\": \"catalog:build\",\n    \"@types/markdown-it-link-attributes\": \"catalog:types\",\n    \"@types/nprogress\": \"catalog:types\",\n    \"@unocss/eslint-config\": \"catalog:build\",\n    \"@vitejs/plugin-vue\": \"catalog:build\",\n    \"@vue-macros/volar\": \"catalog:dev\",\n    \"@vue/test-utils\": \"catalog:dev\",\n    \"beasties\": \"catalog:build\",\n    \"cypress\": \"catalog:dev\",\n    \"cypress-vite\": \"catalog:dev\",\n    \"eslint\": \"catalog:dev\",\n    \"eslint-plugin-cypress\": \"catalog:dev\",\n    \"eslint-plugin-format\": \"catalog:dev\",\n    \"https-localhost\": \"catalog:dev\",\n    \"lint-staged\": \"catalog:dev\",\n    \"markdown-it-link-attributes\": \"catalog:build\",\n    \"rollup\": \"catalog:build\",\n    \"shiki\": \"catalog:build\",\n    \"simple-git-hooks\": \"catalog:dev\",\n    \"taze\": \"catalog:dev\",\n    \"typescript\": \"catalog:dev\",\n    \"unocss\": \"catalog:build\",\n    \"unplugin-auto-import\": \"catalog:build\",\n    \"unplugin-vue-components\": \"catalog:build\",\n    \"unplugin-vue-macros\": \"catalog:build\",\n    \"unplugin-vue-markdown\": \"catalog:build\",\n    \"vite\": \"catalog:build\",\n    \"vite-bundle-visualizer\": \"catalog:build\",\n    \"vite-plugin-inspect\": \"catalog:build\",\n    \"vite-plugin-pwa\": \"catalog:build\",\n    \"vite-plugin-vue-devtools\": \"catalog:build\",\n    \"vite-plugin-vue-layouts\": \"catalog:build\",\n    \"vite-ssg\": \"catalog:build\",\n    \"vite-ssg-sitemap\": \"catalog:build\",\n    \"vitest\": \"catalog:dev\",\n    \"vue-tsc\": \"catalog:dev\"\n  },\n  \"resolutions\": {\n    \"unplugin\": \"catalog:build\",\n    \"vite\": \"catalog:build\",\n    \"vite-plugin-inspect\": \"catalog:build\"\n  },\n  \"simple-git-hooks\": {\n    \"pre-commit\": \"pnpm lint-staged\"\n  },\n  \"lint-staged\": {\n    \"*\": \"eslint --fix\"\n  }\n}\n"
  },
  {
    "path": "pnpm-workspace.yaml",
    "content": "shellEmulator: true\n\ntrustPolicy: no-downgrade\n\npackages: []\n\ncatalogs:\n\n  build:\n    '@intlify/unplugin-vue-i18n': ^11.0.7\n    '@shikijs/markdown-it': ^3.23.0\n    '@unocss/eslint-config': ^66.6.1\n    '@vitejs/plugin-vue': ^6.0.4\n    beasties: ^0.4.1\n    markdown-it-link-attributes: ^4.0.1\n    rollup: ^4.59.0\n    shiki: ^3.23.0\n    unocss: ^66.6.1\n    unplugin: ^2.3.11\n    unplugin-auto-import: ^21.0.0\n    unplugin-vue-components: ^31.0.0\n    unplugin-vue-macros: ^2.14.5\n    unplugin-vue-markdown: ^29.2.0\n    vite: ^7.3.1\n    vite-bundle-visualizer: ^1.2.1\n    vite-plugin-inspect: ^11.3.3\n    vite-plugin-pwa: ^1.2.0\n    vite-plugin-vue-devtools: ^8.0.6\n    vite-plugin-vue-layouts: ^0.11.0\n    vite-ssg: ^28.3.0\n    vite-ssg-sitemap: ^0.10.0\n\n  dev:\n    '@antfu/eslint-config': ^7.6.1\n    '@iconify-json/carbon': ^1.2.18\n    '@vue-macros/volar': ^3.1.2\n    '@vue/test-utils': ^2.4.6\n    cypress: ^15.10.0\n    cypress-vite: ^1.8.0\n    eslint: ^10.0.2\n    eslint-plugin-cypress: ^6.1.0\n    eslint-plugin-format: ^2.0.1\n    https-localhost: ^4.7.1\n    lint-staged: ^16.2.7\n    simple-git-hooks: ^2.13.1\n    taze: ^19.9.2\n    typescript: ^5.8.2\n    vitest: ^4.0.18\n    vue-tsc: ^3.2.5\n\n  frontend:\n    '@unhead/vue': ^2.1.7\n    '@unocss/reset': ^66.6.1\n    '@vueuse/core': ^14.2.1\n    nprogress: ^0.2.0\n    pinia: ^3.0.4\n    vue: ^3.5.29\n    vue-i18n: ^11.2.8\n    vue-router: ^5.0.3\n\n  types:\n    '@types/markdown-it-link-attributes': ^3.0.5\n    '@types/nprogress': ^0.2.3\n\nonlyBuiltDependencies:\n  - cypress\n  - esbuild\n  - simple-git-hooks\n"
  },
  {
    "path": "public/_headers",
    "content": "/assets/*\n  cache-control: max-age=31536000\n  cache-control: immutable\n"
  },
  {
    "path": "src/App.vue",
    "content": "<script setup lang=\"ts\">\n// https://github.com/vueuse/head\n// you can use this to manipulate the document head in any components,\n// they will be rendered correctly in the html results with vite-ssg\nuseHead({\n  title: 'Vitesse',\n  meta: [\n    {\n      name: 'description',\n      content: 'Opinionated Vite Starter Template',\n    },\n    {\n      name: 'theme-color',\n      content: () => isDark.value ? '#00aba9' : '#ffffff',\n    },\n  ],\n  link: [\n    {\n      rel: 'icon',\n      type: 'image/svg+xml',\n      href: () => preferredDark.value ? '/favicon-dark.svg' : '/favicon.svg',\n    },\n  ],\n})\n</script>\n\n<template>\n  <RouterView />\n</template>\n"
  },
  {
    "path": "src/auto-imports.d.ts",
    "content": "/* eslint-disable */\n/* prettier-ignore */\n// @ts-nocheck\n// noinspection JSUnusedGlobalSymbols\n// Generated by unplugin-auto-import\n// biome-ignore lint: disable\nexport {}\ndeclare global {\n  const EffectScope: typeof import('vue').EffectScope\n  const asyncComputed: typeof import('@vueuse/core').asyncComputed\n  const autoResetRef: typeof import('@vueuse/core').autoResetRef\n  const computed: typeof import('vue').computed\n  const computedAsync: typeof import('@vueuse/core').computedAsync\n  const computedEager: typeof import('@vueuse/core').computedEager\n  const computedInject: typeof import('@vueuse/core').computedInject\n  const computedWithControl: typeof import('@vueuse/core').computedWithControl\n  const controlledComputed: typeof import('@vueuse/core').controlledComputed\n  const controlledRef: typeof import('@vueuse/core').controlledRef\n  const createApp: typeof import('vue').createApp\n  const createEventHook: typeof import('@vueuse/core').createEventHook\n  const createGlobalState: typeof import('@vueuse/core').createGlobalState\n  const createInjectionState: typeof import('@vueuse/core').createInjectionState\n  const createReactiveFn: typeof import('@vueuse/core').createReactiveFn\n  const createRef: typeof import('@vueuse/core').createRef\n  const createReusableTemplate: typeof import('@vueuse/core').createReusableTemplate\n  const createSharedComposable: typeof import('@vueuse/core').createSharedComposable\n  const createTemplatePromise: typeof import('@vueuse/core').createTemplatePromise\n  const createUnrefFn: typeof import('@vueuse/core').createUnrefFn\n  const customRef: typeof import('vue').customRef\n  const debouncedRef: typeof import('@vueuse/core').debouncedRef\n  const debouncedWatch: typeof import('@vueuse/core').debouncedWatch\n  const defineAsyncComponent: typeof import('vue').defineAsyncComponent\n  const defineComponent: typeof import('vue').defineComponent\n  const definePage: typeof import('vue-router/experimental').definePage\n  const eagerComputed: typeof import('@vueuse/core').eagerComputed\n  const effectScope: typeof import('vue').effectScope\n  const extendRef: typeof import('@vueuse/core').extendRef\n  const getCurrentInstance: typeof import('vue').getCurrentInstance\n  const getCurrentScope: typeof import('vue').getCurrentScope\n  const getCurrentWatcher: typeof import('vue').getCurrentWatcher\n  const h: typeof import('vue').h\n  const ignorableWatch: typeof import('@vueuse/core').ignorableWatch\n  const inject: typeof import('vue').inject\n  const injectHead: typeof import('@unhead/vue').injectHead\n  const injectLocal: typeof import('@vueuse/core').injectLocal\n  const isDark: typeof import('./composables/dark').isDark\n  const isDefined: typeof import('@vueuse/core').isDefined\n  const isProxy: typeof import('vue').isProxy\n  const isReactive: typeof import('vue').isReactive\n  const isReadonly: typeof import('vue').isReadonly\n  const isRef: typeof import('vue').isRef\n  const isShallow: typeof import('vue').isShallow\n  const makeDestructurable: typeof import('@vueuse/core').makeDestructurable\n  const markRaw: typeof import('vue').markRaw\n  const nextTick: typeof import('vue').nextTick\n  const onActivated: typeof import('vue').onActivated\n  const onBeforeMount: typeof import('vue').onBeforeMount\n  const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave\n  const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate\n  const onBeforeUnmount: typeof import('vue').onBeforeUnmount\n  const onBeforeUpdate: typeof import('vue').onBeforeUpdate\n  const onClickOutside: typeof import('@vueuse/core').onClickOutside\n  const onDeactivated: typeof import('vue').onDeactivated\n  const onElementRemoval: typeof import('@vueuse/core').onElementRemoval\n  const onErrorCaptured: typeof import('vue').onErrorCaptured\n  const onKeyStroke: typeof import('@vueuse/core').onKeyStroke\n  const onLongPress: typeof import('@vueuse/core').onLongPress\n  const onMounted: typeof import('vue').onMounted\n  const onRenderTracked: typeof import('vue').onRenderTracked\n  const onRenderTriggered: typeof import('vue').onRenderTriggered\n  const onScopeDispose: typeof import('vue').onScopeDispose\n  const onServerPrefetch: typeof import('vue').onServerPrefetch\n  const onStartTyping: typeof import('@vueuse/core').onStartTyping\n  const onUnmounted: typeof import('vue').onUnmounted\n  const onUpdated: typeof import('vue').onUpdated\n  const onWatcherCleanup: typeof import('vue').onWatcherCleanup\n  const pausableWatch: typeof import('@vueuse/core').pausableWatch\n  const preferredDark: typeof import('./composables/dark').preferredDark\n  const provide: typeof import('vue').provide\n  const provideLocal: typeof import('@vueuse/core').provideLocal\n  const reactify: typeof import('@vueuse/core').reactify\n  const reactifyObject: typeof import('@vueuse/core').reactifyObject\n  const reactive: typeof import('vue').reactive\n  const reactiveComputed: typeof import('@vueuse/core').reactiveComputed\n  const reactiveOmit: typeof import('@vueuse/core').reactiveOmit\n  const reactivePick: typeof import('@vueuse/core').reactivePick\n  const readonly: typeof import('vue').readonly\n  const ref: typeof import('vue').ref\n  const refAutoReset: typeof import('@vueuse/core').refAutoReset\n  const refDebounced: typeof import('@vueuse/core').refDebounced\n  const refDefault: typeof import('@vueuse/core').refDefault\n  const refManualReset: typeof import('@vueuse/core').refManualReset\n  const refThrottled: typeof import('@vueuse/core').refThrottled\n  const refWithControl: typeof import('@vueuse/core').refWithControl\n  const resolveComponent: typeof import('vue').resolveComponent\n  const resolveRef: typeof import('@vueuse/core').resolveRef\n  const resolveUnref: typeof import('@vueuse/core')['resolveUnref']\n  const shallowReactive: typeof import('vue').shallowReactive\n  const shallowReadonly: typeof import('vue').shallowReadonly\n  const shallowRef: typeof import('vue').shallowRef\n  const syncRef: typeof import('@vueuse/core').syncRef\n  const syncRefs: typeof import('@vueuse/core').syncRefs\n  const templateRef: typeof import('@vueuse/core').templateRef\n  const throttledRef: typeof import('@vueuse/core').throttledRef\n  const throttledWatch: typeof import('@vueuse/core').throttledWatch\n  const toRaw: typeof import('vue').toRaw\n  const toReactive: typeof import('@vueuse/core').toReactive\n  const toRef: typeof import('vue').toRef\n  const toRefs: typeof import('vue').toRefs\n  const toValue: typeof import('vue').toValue\n  const toggleDark: typeof import('./composables/dark').toggleDark\n  const triggerRef: typeof import('vue').triggerRef\n  const tryOnBeforeMount: typeof import('@vueuse/core').tryOnBeforeMount\n  const tryOnBeforeUnmount: typeof import('@vueuse/core').tryOnBeforeUnmount\n  const tryOnMounted: typeof import('@vueuse/core').tryOnMounted\n  const tryOnScopeDispose: typeof import('@vueuse/core').tryOnScopeDispose\n  const tryOnUnmounted: typeof import('@vueuse/core').tryOnUnmounted\n  const unref: typeof import('vue').unref\n  const unrefElement: typeof import('@vueuse/core').unrefElement\n  const until: typeof import('@vueuse/core').until\n  const useActiveElement: typeof import('@vueuse/core').useActiveElement\n  const useAnimate: typeof import('@vueuse/core').useAnimate\n  const useArrayDifference: typeof import('@vueuse/core').useArrayDifference\n  const useArrayEvery: typeof import('@vueuse/core').useArrayEvery\n  const useArrayFilter: typeof import('@vueuse/core').useArrayFilter\n  const useArrayFind: typeof import('@vueuse/core').useArrayFind\n  const useArrayFindIndex: typeof import('@vueuse/core').useArrayFindIndex\n  const useArrayFindLast: typeof import('@vueuse/core').useArrayFindLast\n  const useArrayIncludes: typeof import('@vueuse/core').useArrayIncludes\n  const useArrayJoin: typeof import('@vueuse/core').useArrayJoin\n  const useArrayMap: typeof import('@vueuse/core').useArrayMap\n  const useArrayReduce: typeof import('@vueuse/core').useArrayReduce\n  const useArraySome: typeof import('@vueuse/core').useArraySome\n  const useArrayUnique: typeof import('@vueuse/core').useArrayUnique\n  const useAsyncQueue: typeof import('@vueuse/core').useAsyncQueue\n  const useAsyncState: typeof import('@vueuse/core').useAsyncState\n  const useAttrs: typeof import('vue').useAttrs\n  const useBase64: typeof import('@vueuse/core').useBase64\n  const useBattery: typeof import('@vueuse/core').useBattery\n  const useBluetooth: typeof import('@vueuse/core').useBluetooth\n  const useBreakpoints: typeof import('@vueuse/core').useBreakpoints\n  const useBroadcastChannel: typeof import('@vueuse/core').useBroadcastChannel\n  const useBrowserLocation: typeof import('@vueuse/core').useBrowserLocation\n  const useCached: typeof import('@vueuse/core').useCached\n  const useClipboard: typeof import('@vueuse/core').useClipboard\n  const useClipboardItems: typeof import('@vueuse/core').useClipboardItems\n  const useCloned: typeof import('@vueuse/core').useCloned\n  const useColorMode: typeof import('@vueuse/core').useColorMode\n  const useConfirmDialog: typeof import('@vueuse/core').useConfirmDialog\n  const useCountdown: typeof import('@vueuse/core').useCountdown\n  const useCounter: typeof import('@vueuse/core').useCounter\n  const useCssModule: typeof import('vue').useCssModule\n  const useCssSupports: typeof import('@vueuse/core').useCssSupports\n  const useCssVar: typeof import('@vueuse/core').useCssVar\n  const useCssVars: typeof import('vue').useCssVars\n  const useCurrentElement: typeof import('@vueuse/core').useCurrentElement\n  const useCycleList: typeof import('@vueuse/core').useCycleList\n  const useDark: typeof import('@vueuse/core').useDark\n  const useDateFormat: typeof import('@vueuse/core').useDateFormat\n  const useDebounce: typeof import('@vueuse/core').useDebounce\n  const useDebounceFn: typeof import('@vueuse/core').useDebounceFn\n  const useDebouncedRefHistory: typeof import('@vueuse/core').useDebouncedRefHistory\n  const useDeviceMotion: typeof import('@vueuse/core').useDeviceMotion\n  const useDeviceOrientation: typeof import('@vueuse/core').useDeviceOrientation\n  const useDevicePixelRatio: typeof import('@vueuse/core').useDevicePixelRatio\n  const useDevicesList: typeof import('@vueuse/core').useDevicesList\n  const useDisplayMedia: typeof import('@vueuse/core').useDisplayMedia\n  const useDocumentVisibility: typeof import('@vueuse/core').useDocumentVisibility\n  const useDraggable: typeof import('@vueuse/core').useDraggable\n  const useDropZone: typeof import('@vueuse/core').useDropZone\n  const useElementBounding: typeof import('@vueuse/core').useElementBounding\n  const useElementByPoint: typeof import('@vueuse/core').useElementByPoint\n  const useElementHover: typeof import('@vueuse/core').useElementHover\n  const useElementSize: typeof import('@vueuse/core').useElementSize\n  const useElementVisibility: typeof import('@vueuse/core').useElementVisibility\n  const useEventBus: typeof import('@vueuse/core').useEventBus\n  const useEventListener: typeof import('@vueuse/core').useEventListener\n  const useEventSource: typeof import('@vueuse/core').useEventSource\n  const useEyeDropper: typeof import('@vueuse/core').useEyeDropper\n  const useFavicon: typeof import('@vueuse/core').useFavicon\n  const useFetch: typeof import('@vueuse/core').useFetch\n  const useFileDialog: typeof import('@vueuse/core').useFileDialog\n  const useFileSystemAccess: typeof import('@vueuse/core').useFileSystemAccess\n  const useFocus: typeof import('@vueuse/core').useFocus\n  const useFocusWithin: typeof import('@vueuse/core').useFocusWithin\n  const useFps: typeof import('@vueuse/core').useFps\n  const useFullscreen: typeof import('@vueuse/core').useFullscreen\n  const useGamepad: typeof import('@vueuse/core').useGamepad\n  const useGeolocation: typeof import('@vueuse/core').useGeolocation\n  const useHead: typeof import('@unhead/vue').useHead\n  const useHeadSafe: typeof import('@unhead/vue').useHeadSafe\n  const useI18n: typeof import('vue-i18n').useI18n\n  const useId: typeof import('vue').useId\n  const useIdle: typeof import('@vueuse/core').useIdle\n  const useImage: typeof import('@vueuse/core').useImage\n  const useInfiniteScroll: typeof import('@vueuse/core').useInfiniteScroll\n  const useIntersectionObserver: typeof import('@vueuse/core').useIntersectionObserver\n  const useInterval: typeof import('@vueuse/core').useInterval\n  const useIntervalFn: typeof import('@vueuse/core').useIntervalFn\n  const useKeyModifier: typeof import('@vueuse/core').useKeyModifier\n  const useLastChanged: typeof import('@vueuse/core').useLastChanged\n  const useLink: typeof import('vue-router/auto').useLink\n  const useLocalStorage: typeof import('@vueuse/core').useLocalStorage\n  const useMagicKeys: typeof import('@vueuse/core').useMagicKeys\n  const useManualRefHistory: typeof import('@vueuse/core').useManualRefHistory\n  const useMediaControls: typeof import('@vueuse/core').useMediaControls\n  const useMediaQuery: typeof import('@vueuse/core').useMediaQuery\n  const useMemoize: typeof import('@vueuse/core').useMemoize\n  const useMemory: typeof import('@vueuse/core').useMemory\n  const useModel: typeof import('vue').useModel\n  const useMounted: typeof import('@vueuse/core').useMounted\n  const useMouse: typeof import('@vueuse/core').useMouse\n  const useMouseInElement: typeof import('@vueuse/core').useMouseInElement\n  const useMousePressed: typeof import('@vueuse/core').useMousePressed\n  const useMutationObserver: typeof import('@vueuse/core').useMutationObserver\n  const useNavigatorLanguage: typeof import('@vueuse/core').useNavigatorLanguage\n  const useNetwork: typeof import('@vueuse/core').useNetwork\n  const useNow: typeof import('@vueuse/core').useNow\n  const useObjectUrl: typeof import('@vueuse/core').useObjectUrl\n  const useOffsetPagination: typeof import('@vueuse/core').useOffsetPagination\n  const useOnline: typeof import('@vueuse/core').useOnline\n  const usePageLeave: typeof import('@vueuse/core').usePageLeave\n  const useParallax: typeof import('@vueuse/core').useParallax\n  const useParentElement: typeof import('@vueuse/core').useParentElement\n  const usePerformanceObserver: typeof import('@vueuse/core').usePerformanceObserver\n  const usePermission: typeof import('@vueuse/core').usePermission\n  const usePointer: typeof import('@vueuse/core').usePointer\n  const usePointerLock: typeof import('@vueuse/core').usePointerLock\n  const usePointerSwipe: typeof import('@vueuse/core').usePointerSwipe\n  const usePreferredColorScheme: typeof import('@vueuse/core').usePreferredColorScheme\n  const usePreferredContrast: typeof import('@vueuse/core').usePreferredContrast\n  const usePreferredDark: typeof import('@vueuse/core').usePreferredDark\n  const usePreferredLanguages: typeof import('@vueuse/core').usePreferredLanguages\n  const usePreferredReducedMotion: typeof import('@vueuse/core').usePreferredReducedMotion\n  const usePreferredReducedTransparency: typeof import('@vueuse/core').usePreferredReducedTransparency\n  const usePrevious: typeof import('@vueuse/core').usePrevious\n  const useRafFn: typeof import('@vueuse/core').useRafFn\n  const useRefHistory: typeof import('@vueuse/core').useRefHistory\n  const useResizeObserver: typeof import('@vueuse/core').useResizeObserver\n  const useRoute: typeof import('vue-router').useRoute\n  const useRouter: typeof import('vue-router').useRouter\n  const useSSRWidth: typeof import('@vueuse/core').useSSRWidth\n  const useScreenOrientation: typeof import('@vueuse/core').useScreenOrientation\n  const useScreenSafeArea: typeof import('@vueuse/core').useScreenSafeArea\n  const useScriptTag: typeof import('@vueuse/core').useScriptTag\n  const useScroll: typeof import('@vueuse/core').useScroll\n  const useScrollLock: typeof import('@vueuse/core').useScrollLock\n  const useSeoMeta: typeof import('@unhead/vue').useSeoMeta\n  const useServerHead: typeof import('@unhead/vue').useServerHead\n  const useServerHeadSafe: typeof import('@unhead/vue').useServerHeadSafe\n  const useServerSeoMeta: typeof import('@unhead/vue').useServerSeoMeta\n  const useSessionStorage: typeof import('@vueuse/core').useSessionStorage\n  const useShare: typeof import('@vueuse/core').useShare\n  const useSlots: typeof import('vue').useSlots\n  const useSorted: typeof import('@vueuse/core').useSorted\n  const useSpeechRecognition: typeof import('@vueuse/core').useSpeechRecognition\n  const useSpeechSynthesis: typeof import('@vueuse/core').useSpeechSynthesis\n  const useStepper: typeof import('@vueuse/core').useStepper\n  const useStorage: typeof import('@vueuse/core').useStorage\n  const useStorageAsync: typeof import('@vueuse/core').useStorageAsync\n  const useStyleTag: typeof import('@vueuse/core').useStyleTag\n  const useSupported: typeof import('@vueuse/core').useSupported\n  const useSwipe: typeof import('@vueuse/core').useSwipe\n  const useTemplateRef: typeof import('vue').useTemplateRef\n  const useTemplateRefsList: typeof import('@vueuse/core').useTemplateRefsList\n  const useTextDirection: typeof import('@vueuse/core').useTextDirection\n  const useTextSelection: typeof import('@vueuse/core').useTextSelection\n  const useTextareaAutosize: typeof import('@vueuse/core').useTextareaAutosize\n  const useThrottle: typeof import('@vueuse/core').useThrottle\n  const useThrottleFn: typeof import('@vueuse/core').useThrottleFn\n  const useThrottledRefHistory: typeof import('@vueuse/core').useThrottledRefHistory\n  const useTimeAgo: typeof import('@vueuse/core').useTimeAgo\n  const useTimeAgoIntl: typeof import('@vueuse/core').useTimeAgoIntl\n  const useTimeout: typeof import('@vueuse/core').useTimeout\n  const useTimeoutFn: typeof import('@vueuse/core').useTimeoutFn\n  const useTimeoutPoll: typeof import('@vueuse/core').useTimeoutPoll\n  const useTimestamp: typeof import('@vueuse/core').useTimestamp\n  const useTitle: typeof import('@vueuse/core').useTitle\n  const useToNumber: typeof import('@vueuse/core').useToNumber\n  const useToString: typeof import('@vueuse/core').useToString\n  const useToggle: typeof import('@vueuse/core').useToggle\n  const useTransition: typeof import('@vueuse/core').useTransition\n  const useUrlSearchParams: typeof import('@vueuse/core').useUrlSearchParams\n  const useUserMedia: typeof import('@vueuse/core').useUserMedia\n  const useUserStore: typeof import('./stores/user').useUserStore\n  const useVModel: typeof import('@vueuse/core').useVModel\n  const useVModels: typeof import('@vueuse/core').useVModels\n  const useVibrate: typeof import('@vueuse/core').useVibrate\n  const useVirtualList: typeof import('@vueuse/core').useVirtualList\n  const useWakeLock: typeof import('@vueuse/core').useWakeLock\n  const useWebNotification: typeof import('@vueuse/core').useWebNotification\n  const useWebSocket: typeof import('@vueuse/core').useWebSocket\n  const useWebWorker: typeof import('@vueuse/core').useWebWorker\n  const useWebWorkerFn: typeof import('@vueuse/core').useWebWorkerFn\n  const useWindowFocus: typeof import('@vueuse/core').useWindowFocus\n  const useWindowScroll: typeof import('@vueuse/core').useWindowScroll\n  const useWindowSize: typeof import('@vueuse/core').useWindowSize\n  const watch: typeof import('vue').watch\n  const watchArray: typeof import('@vueuse/core').watchArray\n  const watchAtMost: typeof import('@vueuse/core').watchAtMost\n  const watchDebounced: typeof import('@vueuse/core').watchDebounced\n  const watchDeep: typeof import('@vueuse/core').watchDeep\n  const watchEffect: typeof import('vue').watchEffect\n  const watchIgnorable: typeof import('@vueuse/core').watchIgnorable\n  const watchImmediate: typeof import('@vueuse/core').watchImmediate\n  const watchOnce: typeof import('@vueuse/core').watchOnce\n  const watchPausable: typeof import('@vueuse/core').watchPausable\n  const watchPostEffect: typeof import('vue').watchPostEffect\n  const watchSyncEffect: typeof import('vue').watchSyncEffect\n  const watchThrottled: typeof import('@vueuse/core').watchThrottled\n  const watchTriggerable: typeof import('@vueuse/core').watchTriggerable\n  const watchWithFilter: typeof import('@vueuse/core').watchWithFilter\n  const whenever: typeof import('@vueuse/core').whenever\n}\n// for type re-export\ndeclare global {\n  // @ts-ignore\n  export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'\n  import('vue')\n}\n\n// for vue template auto import\nimport { UnwrapRef } from 'vue'\ndeclare module 'vue' {\n  interface GlobalComponents {}\n  interface ComponentCustomProperties {\n    readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>\n    readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>\n    readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>\n    readonly computed: UnwrapRef<typeof import('vue')['computed']>\n    readonly computedAsync: UnwrapRef<typeof import('@vueuse/core')['computedAsync']>\n    readonly computedEager: UnwrapRef<typeof import('@vueuse/core')['computedEager']>\n    readonly computedInject: UnwrapRef<typeof import('@vueuse/core')['computedInject']>\n    readonly computedWithControl: UnwrapRef<typeof import('@vueuse/core')['computedWithControl']>\n    readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>\n    readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>\n    readonly createApp: UnwrapRef<typeof import('vue')['createApp']>\n    readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>\n    readonly createGlobalState: UnwrapRef<typeof import('@vueuse/core')['createGlobalState']>\n    readonly createInjectionState: UnwrapRef<typeof import('@vueuse/core')['createInjectionState']>\n    readonly createReactiveFn: UnwrapRef<typeof import('@vueuse/core')['createReactiveFn']>\n    readonly createRef: UnwrapRef<typeof import('@vueuse/core')['createRef']>\n    readonly createReusableTemplate: UnwrapRef<typeof import('@vueuse/core')['createReusableTemplate']>\n    readonly createSharedComposable: UnwrapRef<typeof import('@vueuse/core')['createSharedComposable']>\n    readonly createTemplatePromise: UnwrapRef<typeof import('@vueuse/core')['createTemplatePromise']>\n    readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>\n    readonly customRef: UnwrapRef<typeof import('vue')['customRef']>\n    readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>\n    readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>\n    readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>\n    readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>\n    readonly definePage: UnwrapRef<typeof import('vue-router/experimental')['definePage']>\n    readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>\n    readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>\n    readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>\n    readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>\n    readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>\n    readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>\n    readonly h: UnwrapRef<typeof import('vue')['h']>\n    readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>\n    readonly inject: UnwrapRef<typeof import('vue')['inject']>\n    readonly injectHead: UnwrapRef<typeof import('@unhead/vue')['injectHead']>\n    readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>\n    readonly isDark: UnwrapRef<typeof import('./composables/dark')['isDark']>\n    readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>\n    readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>\n    readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>\n    readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>\n    readonly isRef: UnwrapRef<typeof import('vue')['isRef']>\n    readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>\n    readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>\n    readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>\n    readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>\n    readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>\n    readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>\n    readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>\n    readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>\n    readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>\n    readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>\n    readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>\n    readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>\n    readonly onElementRemoval: UnwrapRef<typeof import('@vueuse/core')['onElementRemoval']>\n    readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>\n    readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>\n    readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>\n    readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>\n    readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>\n    readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>\n    readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>\n    readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>\n    readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>\n    readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>\n    readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>\n    readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>\n    readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>\n    readonly preferredDark: UnwrapRef<typeof import('./composables/dark')['preferredDark']>\n    readonly provide: UnwrapRef<typeof import('vue')['provide']>\n    readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>\n    readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>\n    readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>\n    readonly reactive: UnwrapRef<typeof import('vue')['reactive']>\n    readonly reactiveComputed: UnwrapRef<typeof import('@vueuse/core')['reactiveComputed']>\n    readonly reactiveOmit: UnwrapRef<typeof import('@vueuse/core')['reactiveOmit']>\n    readonly reactivePick: UnwrapRef<typeof import('@vueuse/core')['reactivePick']>\n    readonly readonly: UnwrapRef<typeof import('vue')['readonly']>\n    readonly ref: UnwrapRef<typeof import('vue')['ref']>\n    readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>\n    readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>\n    readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>\n    readonly refManualReset: UnwrapRef<typeof import('@vueuse/core')['refManualReset']>\n    readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>\n    readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>\n    readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>\n    readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>\n    readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>\n    readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>\n    readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>\n    readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>\n    readonly syncRefs: UnwrapRef<typeof import('@vueuse/core')['syncRefs']>\n    readonly templateRef: UnwrapRef<typeof import('@vueuse/core')['templateRef']>\n    readonly throttledRef: UnwrapRef<typeof import('@vueuse/core')['throttledRef']>\n    readonly throttledWatch: UnwrapRef<typeof import('@vueuse/core')['throttledWatch']>\n    readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>\n    readonly toReactive: UnwrapRef<typeof import('@vueuse/core')['toReactive']>\n    readonly toRef: UnwrapRef<typeof import('vue')['toRef']>\n    readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>\n    readonly toValue: UnwrapRef<typeof import('vue')['toValue']>\n    readonly toggleDark: UnwrapRef<typeof import('./composables/dark')['toggleDark']>\n    readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>\n    readonly tryOnBeforeMount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeMount']>\n    readonly tryOnBeforeUnmount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeUnmount']>\n    readonly tryOnMounted: UnwrapRef<typeof import('@vueuse/core')['tryOnMounted']>\n    readonly tryOnScopeDispose: UnwrapRef<typeof import('@vueuse/core')['tryOnScopeDispose']>\n    readonly tryOnUnmounted: UnwrapRef<typeof import('@vueuse/core')['tryOnUnmounted']>\n    readonly unref: UnwrapRef<typeof import('vue')['unref']>\n    readonly unrefElement: UnwrapRef<typeof import('@vueuse/core')['unrefElement']>\n    readonly until: UnwrapRef<typeof import('@vueuse/core')['until']>\n    readonly useActiveElement: UnwrapRef<typeof import('@vueuse/core')['useActiveElement']>\n    readonly useAnimate: UnwrapRef<typeof import('@vueuse/core')['useAnimate']>\n    readonly useArrayDifference: UnwrapRef<typeof import('@vueuse/core')['useArrayDifference']>\n    readonly useArrayEvery: UnwrapRef<typeof import('@vueuse/core')['useArrayEvery']>\n    readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>\n    readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>\n    readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>\n    readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>\n    readonly useArrayIncludes: UnwrapRef<typeof import('@vueuse/core')['useArrayIncludes']>\n    readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>\n    readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>\n    readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>\n    readonly useArraySome: UnwrapRef<typeof import('@vueuse/core')['useArraySome']>\n    readonly useArrayUnique: UnwrapRef<typeof import('@vueuse/core')['useArrayUnique']>\n    readonly useAsyncQueue: UnwrapRef<typeof import('@vueuse/core')['useAsyncQueue']>\n    readonly useAsyncState: UnwrapRef<typeof import('@vueuse/core')['useAsyncState']>\n    readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>\n    readonly useBase64: UnwrapRef<typeof import('@vueuse/core')['useBase64']>\n    readonly useBattery: UnwrapRef<typeof import('@vueuse/core')['useBattery']>\n    readonly useBluetooth: UnwrapRef<typeof import('@vueuse/core')['useBluetooth']>\n    readonly useBreakpoints: UnwrapRef<typeof import('@vueuse/core')['useBreakpoints']>\n    readonly useBroadcastChannel: UnwrapRef<typeof import('@vueuse/core')['useBroadcastChannel']>\n    readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>\n    readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>\n    readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>\n    readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>\n    readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>\n    readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>\n    readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>\n    readonly useCountdown: UnwrapRef<typeof import('@vueuse/core')['useCountdown']>\n    readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>\n    readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>\n    readonly useCssSupports: UnwrapRef<typeof import('@vueuse/core')['useCssSupports']>\n    readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>\n    readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>\n    readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>\n    readonly useCycleList: UnwrapRef<typeof import('@vueuse/core')['useCycleList']>\n    readonly useDark: UnwrapRef<typeof import('@vueuse/core')['useDark']>\n    readonly useDateFormat: UnwrapRef<typeof import('@vueuse/core')['useDateFormat']>\n    readonly useDebounce: UnwrapRef<typeof import('@vueuse/core')['useDebounce']>\n    readonly useDebounceFn: UnwrapRef<typeof import('@vueuse/core')['useDebounceFn']>\n    readonly useDebouncedRefHistory: UnwrapRef<typeof import('@vueuse/core')['useDebouncedRefHistory']>\n    readonly useDeviceMotion: UnwrapRef<typeof import('@vueuse/core')['useDeviceMotion']>\n    readonly useDeviceOrientation: UnwrapRef<typeof import('@vueuse/core')['useDeviceOrientation']>\n    readonly useDevicePixelRatio: UnwrapRef<typeof import('@vueuse/core')['useDevicePixelRatio']>\n    readonly useDevicesList: UnwrapRef<typeof import('@vueuse/core')['useDevicesList']>\n    readonly useDisplayMedia: UnwrapRef<typeof import('@vueuse/core')['useDisplayMedia']>\n    readonly useDocumentVisibility: UnwrapRef<typeof import('@vueuse/core')['useDocumentVisibility']>\n    readonly useDraggable: UnwrapRef<typeof import('@vueuse/core')['useDraggable']>\n    readonly useDropZone: UnwrapRef<typeof import('@vueuse/core')['useDropZone']>\n    readonly useElementBounding: UnwrapRef<typeof import('@vueuse/core')['useElementBounding']>\n    readonly useElementByPoint: UnwrapRef<typeof import('@vueuse/core')['useElementByPoint']>\n    readonly useElementHover: UnwrapRef<typeof import('@vueuse/core')['useElementHover']>\n    readonly useElementSize: UnwrapRef<typeof import('@vueuse/core')['useElementSize']>\n    readonly useElementVisibility: UnwrapRef<typeof import('@vueuse/core')['useElementVisibility']>\n    readonly useEventBus: UnwrapRef<typeof import('@vueuse/core')['useEventBus']>\n    readonly useEventListener: UnwrapRef<typeof import('@vueuse/core')['useEventListener']>\n    readonly useEventSource: UnwrapRef<typeof import('@vueuse/core')['useEventSource']>\n    readonly useEyeDropper: UnwrapRef<typeof import('@vueuse/core')['useEyeDropper']>\n    readonly useFavicon: UnwrapRef<typeof import('@vueuse/core')['useFavicon']>\n    readonly useFetch: UnwrapRef<typeof import('@vueuse/core')['useFetch']>\n    readonly useFileDialog: UnwrapRef<typeof import('@vueuse/core')['useFileDialog']>\n    readonly useFileSystemAccess: UnwrapRef<typeof import('@vueuse/core')['useFileSystemAccess']>\n    readonly useFocus: UnwrapRef<typeof import('@vueuse/core')['useFocus']>\n    readonly useFocusWithin: UnwrapRef<typeof import('@vueuse/core')['useFocusWithin']>\n    readonly useFps: UnwrapRef<typeof import('@vueuse/core')['useFps']>\n    readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>\n    readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>\n    readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>\n    readonly useHead: UnwrapRef<typeof import('@unhead/vue')['useHead']>\n    readonly useHeadSafe: UnwrapRef<typeof import('@unhead/vue')['useHeadSafe']>\n    readonly useI18n: UnwrapRef<typeof import('vue-i18n')['useI18n']>\n    readonly useId: UnwrapRef<typeof import('vue')['useId']>\n    readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>\n    readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>\n    readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>\n    readonly useIntersectionObserver: UnwrapRef<typeof import('@vueuse/core')['useIntersectionObserver']>\n    readonly useInterval: UnwrapRef<typeof import('@vueuse/core')['useInterval']>\n    readonly useIntervalFn: UnwrapRef<typeof import('@vueuse/core')['useIntervalFn']>\n    readonly useKeyModifier: UnwrapRef<typeof import('@vueuse/core')['useKeyModifier']>\n    readonly useLastChanged: UnwrapRef<typeof import('@vueuse/core')['useLastChanged']>\n    readonly useLink: UnwrapRef<typeof import('vue-router/auto')['useLink']>\n    readonly useLocalStorage: UnwrapRef<typeof import('@vueuse/core')['useLocalStorage']>\n    readonly useMagicKeys: UnwrapRef<typeof import('@vueuse/core')['useMagicKeys']>\n    readonly useManualRefHistory: UnwrapRef<typeof import('@vueuse/core')['useManualRefHistory']>\n    readonly useMediaControls: UnwrapRef<typeof import('@vueuse/core')['useMediaControls']>\n    readonly useMediaQuery: UnwrapRef<typeof import('@vueuse/core')['useMediaQuery']>\n    readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>\n    readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>\n    readonly useModel: UnwrapRef<typeof import('vue')['useModel']>\n    readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>\n    readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>\n    readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>\n    readonly useMousePressed: UnwrapRef<typeof import('@vueuse/core')['useMousePressed']>\n    readonly useMutationObserver: UnwrapRef<typeof import('@vueuse/core')['useMutationObserver']>\n    readonly useNavigatorLanguage: UnwrapRef<typeof import('@vueuse/core')['useNavigatorLanguage']>\n    readonly useNetwork: UnwrapRef<typeof import('@vueuse/core')['useNetwork']>\n    readonly useNow: UnwrapRef<typeof import('@vueuse/core')['useNow']>\n    readonly useObjectUrl: UnwrapRef<typeof import('@vueuse/core')['useObjectUrl']>\n    readonly useOffsetPagination: UnwrapRef<typeof import('@vueuse/core')['useOffsetPagination']>\n    readonly useOnline: UnwrapRef<typeof import('@vueuse/core')['useOnline']>\n    readonly usePageLeave: UnwrapRef<typeof import('@vueuse/core')['usePageLeave']>\n    readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>\n    readonly useParentElement: UnwrapRef<typeof import('@vueuse/core')['useParentElement']>\n    readonly usePerformanceObserver: UnwrapRef<typeof import('@vueuse/core')['usePerformanceObserver']>\n    readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>\n    readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>\n    readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>\n    readonly usePointerSwipe: UnwrapRef<typeof import('@vueuse/core')['usePointerSwipe']>\n    readonly usePreferredColorScheme: UnwrapRef<typeof import('@vueuse/core')['usePreferredColorScheme']>\n    readonly usePreferredContrast: UnwrapRef<typeof import('@vueuse/core')['usePreferredContrast']>\n    readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>\n    readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>\n    readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>\n    readonly usePreferredReducedTransparency: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedTransparency']>\n    readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>\n    readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>\n    readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>\n    readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>\n    readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>\n    readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>\n    readonly useSSRWidth: UnwrapRef<typeof import('@vueuse/core')['useSSRWidth']>\n    readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>\n    readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>\n    readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>\n    readonly useScroll: UnwrapRef<typeof import('@vueuse/core')['useScroll']>\n    readonly useScrollLock: UnwrapRef<typeof import('@vueuse/core')['useScrollLock']>\n    readonly useSeoMeta: UnwrapRef<typeof import('@unhead/vue')['useSeoMeta']>\n    readonly useServerHead: UnwrapRef<typeof import('@unhead/vue')['useServerHead']>\n    readonly useServerHeadSafe: UnwrapRef<typeof import('@unhead/vue')['useServerHeadSafe']>\n    readonly useServerSeoMeta: UnwrapRef<typeof import('@unhead/vue')['useServerSeoMeta']>\n    readonly useSessionStorage: UnwrapRef<typeof import('@vueuse/core')['useSessionStorage']>\n    readonly useShare: UnwrapRef<typeof import('@vueuse/core')['useShare']>\n    readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>\n    readonly useSorted: UnwrapRef<typeof import('@vueuse/core')['useSorted']>\n    readonly useSpeechRecognition: UnwrapRef<typeof import('@vueuse/core')['useSpeechRecognition']>\n    readonly useSpeechSynthesis: UnwrapRef<typeof import('@vueuse/core')['useSpeechSynthesis']>\n    readonly useStepper: UnwrapRef<typeof import('@vueuse/core')['useStepper']>\n    readonly useStorage: UnwrapRef<typeof import('@vueuse/core')['useStorage']>\n    readonly useStorageAsync: UnwrapRef<typeof import('@vueuse/core')['useStorageAsync']>\n    readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>\n    readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>\n    readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>\n    readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>\n    readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>\n    readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>\n    readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>\n    readonly useTextareaAutosize: UnwrapRef<typeof import('@vueuse/core')['useTextareaAutosize']>\n    readonly useThrottle: UnwrapRef<typeof import('@vueuse/core')['useThrottle']>\n    readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>\n    readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>\n    readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>\n    readonly useTimeAgoIntl: UnwrapRef<typeof import('@vueuse/core')['useTimeAgoIntl']>\n    readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>\n    readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>\n    readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>\n    readonly useTimestamp: UnwrapRef<typeof import('@vueuse/core')['useTimestamp']>\n    readonly useTitle: UnwrapRef<typeof import('@vueuse/core')['useTitle']>\n    readonly useToNumber: UnwrapRef<typeof import('@vueuse/core')['useToNumber']>\n    readonly useToString: UnwrapRef<typeof import('@vueuse/core')['useToString']>\n    readonly useToggle: UnwrapRef<typeof import('@vueuse/core')['useToggle']>\n    readonly useTransition: UnwrapRef<typeof import('@vueuse/core')['useTransition']>\n    readonly useUrlSearchParams: UnwrapRef<typeof import('@vueuse/core')['useUrlSearchParams']>\n    readonly useUserMedia: UnwrapRef<typeof import('@vueuse/core')['useUserMedia']>\n    readonly useUserStore: UnwrapRef<typeof import('./stores/user')['useUserStore']>\n    readonly useVModel: UnwrapRef<typeof import('@vueuse/core')['useVModel']>\n    readonly useVModels: UnwrapRef<typeof import('@vueuse/core')['useVModels']>\n    readonly useVibrate: UnwrapRef<typeof import('@vueuse/core')['useVibrate']>\n    readonly useVirtualList: UnwrapRef<typeof import('@vueuse/core')['useVirtualList']>\n    readonly useWakeLock: UnwrapRef<typeof import('@vueuse/core')['useWakeLock']>\n    readonly useWebNotification: UnwrapRef<typeof import('@vueuse/core')['useWebNotification']>\n    readonly useWebSocket: UnwrapRef<typeof import('@vueuse/core')['useWebSocket']>\n    readonly useWebWorker: UnwrapRef<typeof import('@vueuse/core')['useWebWorker']>\n    readonly useWebWorkerFn: UnwrapRef<typeof import('@vueuse/core')['useWebWorkerFn']>\n    readonly useWindowFocus: UnwrapRef<typeof import('@vueuse/core')['useWindowFocus']>\n    readonly useWindowScroll: UnwrapRef<typeof import('@vueuse/core')['useWindowScroll']>\n    readonly useWindowSize: UnwrapRef<typeof import('@vueuse/core')['useWindowSize']>\n    readonly watch: UnwrapRef<typeof import('vue')['watch']>\n    readonly watchArray: UnwrapRef<typeof import('@vueuse/core')['watchArray']>\n    readonly watchAtMost: UnwrapRef<typeof import('@vueuse/core')['watchAtMost']>\n    readonly watchDebounced: UnwrapRef<typeof import('@vueuse/core')['watchDebounced']>\n    readonly watchDeep: UnwrapRef<typeof import('@vueuse/core')['watchDeep']>\n    readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>\n    readonly watchIgnorable: UnwrapRef<typeof import('@vueuse/core')['watchIgnorable']>\n    readonly watchImmediate: UnwrapRef<typeof import('@vueuse/core')['watchImmediate']>\n    readonly watchOnce: UnwrapRef<typeof import('@vueuse/core')['watchOnce']>\n    readonly watchPausable: UnwrapRef<typeof import('@vueuse/core')['watchPausable']>\n    readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>\n    readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>\n    readonly watchThrottled: UnwrapRef<typeof import('@vueuse/core')['watchThrottled']>\n    readonly watchTriggerable: UnwrapRef<typeof import('@vueuse/core')['watchTriggerable']>\n    readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>\n    readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>\n  }\n}"
  },
  {
    "path": "src/components/README.md",
    "content": "## Components\n\nComponents in this dir will be auto-registered and on-demand, powered by [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components).\n\n### Icons\n\nYou can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/).\n\nIt will only bundle the icons you use. Check out [`unplugin-icons`](https://github.com/antfu/unplugin-icons) for more details.\n"
  },
  {
    "path": "src/components/TheCounter.vue",
    "content": "<script setup lang=\"ts\">\nconst props = defineProps<{\n  initial: number\n}>()\n\nconst { count, inc, dec } = useCounter(props.initial)\n</script>\n\n<template>\n  <div>\n    {{ count }}\n    <button class=\"inc\" @click=\"inc()\">\n      +\n    </button>\n    <button class=\"dec\" @click=\"dec()\">\n      -\n    </button>\n  </div>\n</template>\n"
  },
  {
    "path": "src/components/TheFooter.vue",
    "content": "<script setup lang=\"ts\">\nimport { availableLocales, loadLanguageAsync } from '~/modules/i18n'\n\nconst { t, locale } = useI18n()\n\nasync function toggleLocales() {\n  // change to some real logic\n  const locales = availableLocales\n  const newLocale = locales[(locales.indexOf(locale.value) + 1) % locales.length]\n  await loadLanguageAsync(newLocale)\n  locale.value = newLocale\n}\n</script>\n\n<template>\n  <nav flex=\"~ gap-4\" mt-6 justify-center text-xl>\n    <RouterLink icon-btn to=\"/\" :title=\"t('button.home')\">\n      <div i-carbon-campsite />\n    </RouterLink>\n\n    <button icon-btn :title=\"t('button.toggle_dark')\" @click=\"toggleDark()\">\n      <div i=\"carbon-sun dark:carbon-moon\" />\n    </button>\n\n    <a icon-btn :title=\"t('button.toggle_langs')\" @click=\"toggleLocales()\">\n      <div i-carbon-language />\n    </a>\n\n    <RouterLink icon-btn to=\"/about\" :title=\"t('button.about')\" data-test-id=\"about\">\n      <div i-carbon-dicom-overlay />\n    </RouterLink>\n\n    <a icon-btn rel=\"noreferrer\" href=\"https://github.com/antfu/vitesse\" target=\"_blank\" title=\"GitHub\">\n      <div i-carbon-logo-github />\n    </a>\n  </nav>\n</template>\n"
  },
  {
    "path": "src/components/TheInput.vue",
    "content": "<script setup lang=\"ts\">\nconst { modelValue } = defineModels<{\n  modelValue: string\n}>()\n</script>\n\n<template>\n  <input\n    id=\"input\"\n    v-model=\"modelValue\"\n    v-bind=\"$attrs\"\n    type=\"text\"\n    p=\"x-4 y-2\"\n    w=\"250px\"\n    text=\"center\"\n    bg=\"transparent\"\n    border=\"~ rounded gray-200 dark:gray-700\"\n    outline=\"none active:none\"\n  >\n</template>\n"
  },
  {
    "path": "src/components.d.ts",
    "content": "/* eslint-disable */\n// @ts-nocheck\n// biome-ignore lint: disable\n// oxlint-disable\n// ------\n// Generated by unplugin-vue-components\n// Read more: https://github.com/vuejs/core/pull/3399\n\nexport {}\n\n/* prettier-ignore */\ndeclare module 'vue' {\n  export interface GlobalComponents {\n    README: typeof import('./components/README.md')['default']\n    RouterLink: typeof import('vue-router')['RouterLink']\n    RouterView: typeof import('vue-router')['RouterView']\n    TheCounter: typeof import('./components/TheCounter.vue')['default']\n    TheFooter: typeof import('./components/TheFooter.vue')['default']\n    TheInput: typeof import('./components/TheInput.vue')['default']\n  }\n}\n"
  },
  {
    "path": "src/composables/dark.ts",
    "content": "// these APIs are auto-imported from @vueuse/core\nexport const isDark = useDark()\nexport const toggleDark = useToggle(isDark)\nexport const preferredDark = usePreferredDark()\n"
  },
  {
    "path": "src/layouts/404.vue",
    "content": "<script setup lang=\"ts\">\nconst router = useRouter()\nconst { t } = useI18n()\nuseHead({\n  title: () => t('not-found'),\n})\n</script>\n\n<template>\n  <main p=\"x4 y10\" text=\"center teal-700 dark:gray-200\">\n    <div text-4xl>\n      <div i-carbon-warning inline-block />\n    </div>\n    <RouterView />\n    <div>\n      <button btn text-sm m=\"3 t8\" @click=\"router.back()\">\n        {{ t('button.back') }}\n      </button>\n    </div>\n  </main>\n</template>\n"
  },
  {
    "path": "src/layouts/README.md",
    "content": "## Layouts\n\nVue components in this dir are used as layouts.\n\nBy default, `default.vue` will be used unless an alternative is specified in the route meta.\n\nWith [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) and [`vite-plugin-vue-layouts`](https://github.com/JohnCampionJr/vite-plugin-vue-layouts), you can specify the layout in the page's SFCs like this:\n\n```vue\n<route lang=\"yaml\">\nmeta:\n  layout: home\n</route>\n```\n"
  },
  {
    "path": "src/layouts/default.vue",
    "content": "<template>\n  <main\n    px-4 py-10\n    text=\"center gray-700 dark:gray-200\"\n  >\n    <RouterView />\n    <TheFooter />\n    <div mx-auto mt-5 text-center text-sm opacity-50>\n      [Default Layout]\n    </div>\n  </main>\n</template>\n"
  },
  {
    "path": "src/layouts/home.vue",
    "content": "<template>\n  <main\n    px-4 py-10\n    text=\"center gray-700 dark:gray-200\"\n  >\n    <RouterView />\n    <TheFooter />\n    <div mx-auto mt-5 text-center text-sm opacity-50>\n      [Home Layout]\n    </div>\n  </main>\n</template>\n"
  },
  {
    "path": "src/main.ts",
    "content": "import type { UserModule } from './types'\n\nimport { setupLayouts } from 'virtual:generated-layouts'\nimport { ViteSSG } from 'vite-ssg'\nimport { routes } from 'vue-router/auto-routes'\nimport App from './App.vue'\n\nimport '@unocss/reset/tailwind.css'\nimport './styles/main.css'\nimport 'uno.css'\n\n// https://github.com/antfu/vite-ssg\nexport const createApp = ViteSSG(\n  App,\n  {\n    routes: setupLayouts([...routes]),\n    base: import.meta.env.BASE_URL,\n  },\n  (ctx) => {\n    // install all modules under `modules/`\n    Object.values(import.meta.glob<{ install: UserModule }>('./modules/*.ts', { eager: true }))\n      .forEach(i => i.install?.(ctx))\n    // ctx.app.use(Previewer)\n  },\n)\n"
  },
  {
    "path": "src/modules/README.md",
    "content": "## Modules\n\nA custom user module system. Place a `.ts` file with the following template, it will be installed automatically.\n\n```ts\nimport type { UserModule } from '~/types'\n\nexport const install: UserModule = ({ app, router, isClient }) => {\n  // do something\n}\n```\n"
  },
  {
    "path": "src/modules/i18n.ts",
    "content": "import type { Locale } from 'vue-i18n'\nimport type { UserModule } from '~/types'\nimport { createI18n } from 'vue-i18n'\n\n// Import i18n resources\n// https://vitejs.dev/guide/features.html#glob-import\n//\n// Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite\nconst i18n = createI18n({\n  legacy: false,\n  locale: '',\n  messages: {},\n})\n\nconst localesMap = Object.fromEntries(\n  Object.entries(import.meta.glob('../../locales/*.yml'))\n    .map(([path, loadLocale]) => [path.match(/([\\w-]*)\\.yml$/)?.[1], loadLocale]),\n) as Record<Locale, () => Promise<{ default: Record<string, string> }>>\n\nexport const availableLocales = Object.keys(localesMap)\n\nconst loadedLanguages: string[] = []\n\nfunction setI18nLanguage(lang: Locale) {\n  i18n.global.locale.value = lang as any\n  if (typeof document !== 'undefined')\n    document.querySelector('html')?.setAttribute('lang', lang)\n  return lang\n}\n\nexport async function loadLanguageAsync(lang: string): Promise<Locale> {\n  // If the same language\n  if (i18n.global.locale.value === lang)\n    return setI18nLanguage(lang)\n\n  // If the language was already loaded\n  if (loadedLanguages.includes(lang))\n    return setI18nLanguage(lang)\n\n  // If the language hasn't been loaded yet\n  const messages = await localesMap[lang]()\n  i18n.global.setLocaleMessage(lang, messages.default)\n  loadedLanguages.push(lang)\n  return setI18nLanguage(lang)\n}\n\nexport const install: UserModule = ({ app }) => {\n  app.use(i18n)\n  loadLanguageAsync('en')\n}\n"
  },
  {
    "path": "src/modules/nprogress.ts",
    "content": "import type { UserModule } from '~/types'\nimport NProgress from 'nprogress'\n\nexport const install: UserModule = ({ isClient, router }) => {\n  if (isClient) {\n    router.beforeEach((to, from) => {\n      if (to.path !== from.path)\n        NProgress.start()\n    })\n    router.afterEach(() => {\n      NProgress.done()\n    })\n  }\n}\n"
  },
  {
    "path": "src/modules/pinia.ts",
    "content": "import type { UserModule } from '~/types'\nimport { createPinia } from 'pinia'\n\n// Setup Pinia\n// https://pinia.vuejs.org/\nexport const install: UserModule = ({ isClient, initialState, app }) => {\n  const pinia = createPinia()\n  app.use(pinia)\n  // Refer to\n  // https://github.com/antfu/vite-ssg/blob/main/README.md#state-serialization\n  // for other serialization strategies.\n  if (isClient)\n    pinia.state.value = (initialState.pinia) || {}\n\n  else\n    initialState.pinia = pinia.state.value\n}\n"
  },
  {
    "path": "src/modules/pwa.ts",
    "content": "import type { UserModule } from '~/types'\n\n// https://github.com/antfu/vite-plugin-pwa#automatic-reload-when-new-content-available\nexport const install: UserModule = ({ isClient, router }) => {\n  if (!isClient)\n    return\n\n  router.isReady()\n    .then(async () => {\n      const { registerSW } = await import('virtual:pwa-register')\n      registerSW({ immediate: true })\n    })\n    .catch(() => {})\n}\n"
  },
  {
    "path": "src/pages/README.md",
    "content": "## File-based Routing\n\nRoutes will be auto-generated for Vue files in this dir with the same file structure.\nCheck out [`unplugin-vue-router`](https://github.com/posva/unplugin-vue-router) for more details.\n\n### Path Aliasing\n\n`~/` is aliased to `./src/` folder.\n\nFor example, instead of having\n\n```ts\nimport { isDark } from '../../../../composables'\n```\n\nnow, you can use\n\n```ts\nimport { isDark } from '~/composables'\n```\n"
  },
  {
    "path": "src/pages/[...all].vue",
    "content": "<script setup lang=\"ts\">\nconst { t } = useI18n()\n</script>\n\n<template>\n  <div>\n    {{ t('not-found') }}\n  </div>\n</template>\n\n<route lang=\"yaml\">\nmeta:\n  layout: 404\n</route>\n"
  },
  {
    "path": "src/pages/about.md",
    "content": "---\ntitle: About\n---\n\n<script setup>\nconst { t } = useI18n()\nuseHead({ title: () => t('button.about') })\n</script>\n\n<div class=\"text-center\">\n  <!-- You can use Vue components inside markdown -->\n  <div i-carbon-dicom-overlay class=\"text-4xl -mb-6 m-auto\" />\n  <h3>{{ t('button.about') }}</h3>\n</div>\n\n[Vitesse](https://github.com/antfu/vitesse) is an opinionated [Vite](https://github.com/vitejs/vite) starter template made by [@antfu](https://github.com/antfu) for mocking apps swiftly. With **file-based routing**, **components auto importing**, **markdown support**, I18n, PWA and uses **UnoCSS** for styling and icons.\n\n```js\n// syntax highlighting example\nfunction vitesse() {\n  const foo = 'bar'\n  console.log(foo)\n}\n```\n\nCheck out the [GitHub repo](https://github.com/antfu/vitesse) for more details.\n"
  },
  {
    "path": "src/pages/hi/[name].vue",
    "content": "<script setup lang=\"ts\">\nconst router = useRouter()\nconst route = useRoute('/hi/[name]')\nconst user = useUserStore()\nconst { t } = useI18n()\n\nwatchEffect(() => {\n  user.setNewName(route.params.name)\n})\nuseHead({\n  title: () => t('intro.hi', { name: user.savedName }),\n})\n</script>\n\n<template>\n  <div>\n    <div text-4xl>\n      <div i-carbon-pedestrian inline-block />\n    </div>\n    <p>\n      {{ t('intro.hi', { name: user.savedName }) }}\n    </p>\n\n    <p text-sm opacity-75>\n      <em>{{ t('intro.dynamic-route') }}</em>\n    </p>\n\n    <template v-if=\"user.otherNames.length\">\n      <div mt-4 text-sm>\n        <span opacity-75>{{ t('intro.aka') }}:</span>\n        <ul>\n          <li v-for=\"otherName in user.otherNames\" :key=\"otherName\">\n            <RouterLink :to=\"`/hi/${otherName}`\" replace>\n              {{ otherName }}\n            </RouterLink>\n          </li>\n        </ul>\n      </div>\n    </template>\n\n    <div>\n      <button\n        m=\"3 t6\" btn text-sm\n        @click=\"router.back()\"\n      >\n        {{ t('button.back') }}\n      </button>\n    </div>\n  </div>\n</template>\n"
  },
  {
    "path": "src/pages/index.vue",
    "content": "<script setup lang=\"ts\">\ndefineOptions({\n  name: 'IndexPage',\n})\nconst user = useUserStore()\nconst name = ref(user.savedName)\n\nconst router = useRouter()\nfunction go() {\n  if (name.value)\n    router.push(`/hi/${encodeURIComponent(name.value)}`)\n}\n\nconst { t } = useI18n()\nuseHead({\n  title: () => t('button.home'),\n})\n</script>\n\n<template>\n  <div>\n    <div text-4xl>\n      <div i-carbon-campsite inline-block />\n    </div>\n    <p>\n      <a rel=\"noreferrer\" href=\"https://github.com/antfu/vitesse\" target=\"_blank\">\n        Vitesse\n      </a>\n    </p>\n    <p>\n      <em text-sm opacity-75>{{ t('intro.desc') }}</em>\n    </p>\n\n    <div py-4 />\n\n    <TheInput\n      v-model=\"name\"\n      :placeholder=\"t('intro.whats-your-name')\"\n      autocomplete=\"false\"\n      @keydown.enter=\"go\"\n    />\n    <label class=\"hidden\" for=\"input\">{{ t('intro.whats-your-name') }}</label>\n\n    <div>\n      <button\n        m-3 btn text-sm\n        :disabled=\"!name\"\n        @click=\"go\"\n      >\n        {{ t('button.go') }}\n      </button>\n    </div>\n  </div>\n</template>\n\n<route lang=\"yaml\">\nmeta:\n  layout: home\n</route>\n"
  },
  {
    "path": "src/route-map.d.ts",
    "content": "/* eslint-disable */\n/* prettier-ignore */\n// oxfmt-ignore\n// @ts-nocheck\n// noinspection ES6UnusedImports\n// Generated by vue-router. !! DO NOT MODIFY THIS FILE !!\n// It's recommended to commit this file.\n// Make sure to add this file to your tsconfig.json file as an \"includes\" or \"files\" entry.\n\nimport type {\n  RouteRecordInfo,\n  ParamValue,\n  ParamValueOneOrMore,\n  ParamValueZeroOrMore,\n  ParamValueZeroOrOne,\n} from 'vue-router'\n\ndeclare module 'vue-router' {\n  interface TypesConfig {\n    ParamParsers: never\n  }\n}\n\ndeclare module 'vue-router/auto-routes' {\n  /**\n   * Route name map generated by vue-router\n   */\n  export interface RouteNamedMap {\n    '/': RouteRecordInfo<\n      '/',\n      '/',\n      Record<never, never>,\n      Record<never, never>,\n      | never\n    >,\n    '/[...all]': RouteRecordInfo<\n      '/[...all]',\n      '/:all(.*)',\n      { all: ParamValue<true> },\n      { all: ParamValue<false> },\n      | never\n    >,\n    '/about': RouteRecordInfo<\n      '/about',\n      '/about',\n      Record<never, never>,\n      Record<never, never>,\n      | never\n    >,\n    '/hi/[name]': RouteRecordInfo<\n      '/hi/[name]',\n      '/hi/:name',\n      { name: ParamValue<true> },\n      { name: ParamValue<false> },\n      | never\n    >,\n    '/README': RouteRecordInfo<\n      '/README',\n      '/README',\n      Record<never, never>,\n      Record<never, never>,\n      | never\n    >,\n  }\n\n  /**\n   * Route file to route info map by vue-router.\n   * Used by the \\`sfc-typed-router\\` Volar plugin to automatically type \\`useRoute()\\`.\n   *\n   * Each key is a file path relative to the project root with 2 properties:\n   * - routes: union of route names of the possible routes when in this page (passed to useRoute<...>())\n   * - views: names of nested views (can be passed to <RouterView name=\"...\">)\n   *\n   * @internal\n   */\n  export interface _RouteFileInfoMap {\n    'src/pages/index.vue': {\n      routes:\n        | '/'\n      views:\n        | never\n    }\n    'src/pages/[...all].vue': {\n      routes:\n        | '/[...all]'\n      views:\n        | never\n    }\n    'src/pages/about.md': {\n      routes:\n        | '/about'\n      views:\n        | never\n    }\n    'src/pages/hi/[name].vue': {\n      routes:\n        | '/hi/[name]'\n      views:\n        | never\n    }\n    'src/pages/README.md': {\n      routes:\n        | '/README'\n      views:\n        | never\n    }\n  }\n\n  /**\n   * Get a union of possible route names in a certain route component file.\n   * Used by the \\`sfc-typed-router\\` Volar plugin to automatically type \\`useRoute()\\`.\n   *\n   * @internal\n   */\n  export type _RouteNamesForFilePath<FilePath extends string> =\n    _RouteFileInfoMap extends Record<FilePath, infer Info>\n      ? Info['routes']\n      : keyof RouteNamedMap\n}\n\nexport {}\n"
  },
  {
    "path": "src/shims.d.ts",
    "content": "declare interface Window {\n  // extend the window\n}\n\n// with unplugin-vue-markdown, markdown files can be treated as Vue components\ndeclare module '*.md' {\n  import type { DefineComponent } from 'vue'\n\n  const component: DefineComponent<object, object, any>\n  export default component\n}\n\ndeclare module '*.vue' {\n  import type { DefineComponent } from 'vue'\n\n  const component: DefineComponent<object, object, any>\n  export default component\n}\n"
  },
  {
    "path": "src/stores/user.ts",
    "content": "import { acceptHMRUpdate, defineStore } from 'pinia'\n\nexport const useUserStore = defineStore('user', () => {\n  /**\n   * Current name of the user.\n   */\n  const savedName = ref('')\n  const previousNames = ref(new Set<string>())\n\n  const usedNames = computed(() => Array.from(previousNames.value))\n  const otherNames = computed(() => usedNames.value.filter(name => name !== savedName.value))\n\n  /**\n   * Changes the current name of the user and saves the one that was used\n   * before.\n   *\n   * @param name - new name to set\n   */\n  function setNewName(name: string) {\n    if (savedName.value)\n      previousNames.value.add(savedName.value)\n\n    savedName.value = name\n  }\n\n  return {\n    setNewName,\n    otherNames,\n    savedName,\n  }\n})\n\nif (import.meta.hot)\n  import.meta.hot.accept(acceptHMRUpdate(useUserStore as any, import.meta.hot))\n"
  },
  {
    "path": "src/styles/main.css",
    "content": "@import './markdown.css';\n\nhtml,\nbody,\n#app {\n  height: 100%;\n  margin: 0;\n  padding: 0;\n}\n\nhtml.dark {\n  background: #121212;\n  color-scheme: dark;\n}\n\n#nprogress {\n  pointer-events: none;\n}\n\n#nprogress .bar {\n  background: rgb(13, 148, 136);\n  opacity: 0.75;\n  position: fixed;\n  z-index: 1031;\n  top: 0;\n  left: 0;\n  width: 100%;\n  height: 2px;\n}\n"
  },
  {
    "path": "src/styles/markdown.css",
    "content": ".prose pre:not(.shiki) {\n  padding: 0;\n}\n\n.prose .shiki {\n  font-family: 'DM Mono', monospace;\n  font-size: 1.2em;\n  line-height: 1.4;\n}\n\n.prose img {\n  width: 100%;\n}\n\n.shiki,\n.shiki span {\n  color: var(--shiki-light);\n  background: var(--shiki-light-bg);\n}\n\nhtml.dark .shiki,\nhtml.dark .shiki span {\n  color: var(--shiki-dark);\n  background: var(--shiki-dark-bg);\n}\n"
  },
  {
    "path": "src/types.ts",
    "content": "import type { ViteSSGContext } from 'vite-ssg'\n\nexport type UserModule = (ctx: ViteSSGContext) => void\n"
  },
  {
    "path": "test/__snapshots__/component.test.ts.snap",
    "content": "// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html\n\nexports[`component TheCounter.vue > should render 1`] = `\"<div>10 <button class=\"inc\"> + </button><button class=\"dec\"> - </button></div>\"`;\n"
  },
  {
    "path": "test/basic.test.ts",
    "content": "import { describe, expect, it } from 'vitest'\n\ndescribe('tests', () => {\n  it('should works', () => {\n    expect(1 + 1).toEqual(2)\n  })\n})\n"
  },
  {
    "path": "test/component.test.ts",
    "content": "import { mount } from '@vue/test-utils'\nimport { describe, expect, it } from 'vitest'\nimport TheCounter from '../src/components/TheCounter.vue'\n\ndescribe('component TheCounter.vue', () => {\n  it('should render', () => {\n    const wrapper = mount(TheCounter, { props: { initial: 10 } })\n    expect(wrapper.text()).toContain('10')\n    expect(wrapper.html()).toMatchSnapshot()\n  })\n\n  it('should be interactive', async () => {\n    const wrapper = mount(TheCounter, { props: { initial: 0 } })\n    expect(wrapper.text()).toContain('0')\n\n    expect(wrapper.find('.inc').exists()).toBe(true)\n\n    expect(wrapper.find('.dec').exists()).toBe(true)\n\n    await wrapper.get('.inc').trigger('click')\n\n    expect(wrapper.text()).toContain('1')\n\n    await wrapper.get('.dec').trigger('click')\n\n    expect(wrapper.text()).toContain('0')\n  })\n})\n"
  },
  {
    "path": "tsconfig.json",
    "content": "{\n  \"compilerOptions\": {\n    \"target\": \"ESNext\",\n    \"jsx\": \"preserve\",\n    \"lib\": [\"DOM\", \"ESNext\"],\n    \"baseUrl\": \".\",\n    \"module\": \"ESNext\",\n    \"moduleResolution\": \"Bundler\",\n    \"paths\": {\n      \"~/*\": [\"src/*\"]\n    },\n    \"resolveJsonModule\": true,\n    \"types\": [\n      \"vitest\",\n      \"vite/client\",\n      \"vite-plugin-vue-layouts/client\",\n      \"vite-plugin-pwa/client\",\n      \"unplugin-vue-macros/macros-global\"\n    ],\n    \"allowJs\": true,\n    \"strict\": true,\n    \"strictNullChecks\": true,\n    \"noUnusedLocals\": true,\n    \"noEmit\": true,\n    \"esModuleInterop\": true,\n    \"forceConsistentCasingInFileNames\": true,\n    \"isolatedModules\": true,\n    \"skipLibCheck\": true\n  },\n  \"vueCompilerOptions\": {\n    \"plugins\": [\n      \"@vue-macros/volar/define-models\",\n      \"@vue-macros/volar/define-slots\"\n    ]\n  },\n  \"exclude\": [\"dist\", \"node_modules\", \"cypress\"]\n}\n"
  },
  {
    "path": "uno.config.ts",
    "content": "import {\n  createLocalFontProcessor,\n} from '@unocss/preset-web-fonts/local'\nimport {\n  defineConfig,\n  presetAttributify,\n  presetIcons,\n  presetTypography,\n  presetUno,\n  presetWebFonts,\n  transformerDirectives,\n  transformerVariantGroup,\n} from 'unocss'\n\nexport default defineConfig({\n  shortcuts: [\n    ['btn', 'px-4 py-1 rounded inline-block bg-teal-700 text-white cursor-pointer !outline-none hover:bg-teal-800 disabled:cursor-default disabled:bg-gray-600 disabled:opacity-50'],\n    ['icon-btn', 'inline-block cursor-pointer select-none opacity-75 transition duration-200 ease-in-out hover:opacity-100 hover:text-teal-600'],\n  ],\n  presets: [\n    presetUno(),\n    presetAttributify(),\n    presetIcons({\n      scale: 1.2,\n    }),\n    presetTypography(),\n    presetWebFonts({\n      fonts: {\n        sans: 'DM Sans',\n        serif: 'DM Serif Display',\n        mono: 'DM Mono',\n      },\n      processors: createLocalFontProcessor(),\n    }),\n  ],\n  transformers: [\n    transformerDirectives(),\n    transformerVariantGroup(),\n  ],\n  safelist: 'prose prose-sm m-auto text-left'.split(' '),\n})\n"
  },
  {
    "path": "vite.config.ts",
    "content": "import path from 'node:path'\nimport VueI18n from '@intlify/unplugin-vue-i18n/vite'\nimport Shiki from '@shikijs/markdown-it'\nimport { unheadVueComposablesImports } from '@unhead/vue'\nimport Vue from '@vitejs/plugin-vue'\nimport LinkAttributes from 'markdown-it-link-attributes'\nimport Unocss from 'unocss/vite'\nimport AutoImport from 'unplugin-auto-import/vite'\nimport Components from 'unplugin-vue-components/vite'\nimport VueMacros from 'unplugin-vue-macros/vite'\nimport Markdown from 'unplugin-vue-markdown/vite'\nimport { defineConfig } from 'vite'\nimport { VitePWA } from 'vite-plugin-pwa'\nimport VueDevTools from 'vite-plugin-vue-devtools'\nimport Layouts from 'vite-plugin-vue-layouts'\nimport generateSitemap from 'vite-ssg-sitemap'\nimport { VueRouterAutoImports } from 'vue-router/unplugin'\nimport VueRouter from 'vue-router/vite'\nimport 'vitest/config'\n\nexport default defineConfig({\n  resolve: {\n    alias: {\n      '~/': `${path.resolve(__dirname, 'src')}/`,\n    },\n  },\n\n  plugins: [\n    // https://github.com/vuejs/router\n    VueRouter({\n      extensions: ['.vue', '.md'],\n      dts: 'src/route-map.d.ts',\n    }),\n\n    VueMacros({\n      plugins: {\n        vue: Vue({\n          include: [/\\.vue$/, /\\.md$/],\n        }),\n      },\n    }),\n\n    // https://github.com/JohnCampionJr/vite-plugin-vue-layouts\n    Layouts(),\n\n    // https://github.com/antfu/unplugin-auto-import\n    AutoImport({\n      include: [/\\.[jt]sx?$/, /\\.vue$/, /\\.vue\\?vue/, /\\.md$/],\n      imports: [\n        'vue',\n        'vue-i18n',\n        '@vueuse/core',\n        unheadVueComposablesImports,\n        VueRouterAutoImports,\n        {\n          // add any other imports you were relying on\n          'vue-router/auto': ['useLink'],\n        },\n      ],\n      dts: 'src/auto-imports.d.ts',\n      dirs: [\n        'src/composables',\n        'src/stores',\n      ],\n      vueTemplate: true,\n    }),\n\n    // https://github.com/antfu/unplugin-vue-components\n    Components({\n      // allow auto load markdown components under `./src/components/`\n      extensions: ['vue', 'md'],\n      // allow auto import and register components used in markdown\n      include: [/\\.vue$/, /\\.vue\\?vue/, /\\.md$/],\n      dts: 'src/components.d.ts',\n    }),\n\n    // https://github.com/antfu/unocss\n    // see uno.config.ts for config\n    Unocss(),\n\n    // https://github.com/unplugin/unplugin-vue-markdown\n    // Don't need this? Try vitesse-lite: https://github.com/antfu/vitesse-lite\n    Markdown({\n      wrapperClasses: 'prose prose-sm m-auto text-left',\n      headEnabled: true,\n      async markdownItSetup(md) {\n        md.use(LinkAttributes, {\n          matcher: (link: string) => /^https?:\\/\\//.test(link),\n          attrs: {\n            target: '_blank',\n            rel: 'noopener',\n          },\n        })\n        md.use(await Shiki({\n          defaultColor: false,\n          themes: {\n            light: 'vitesse-light',\n            dark: 'vitesse-dark',\n          },\n        }))\n      },\n    }),\n\n    // https://github.com/antfu/vite-plugin-pwa\n    VitePWA({\n      registerType: 'autoUpdate',\n      includeAssets: ['favicon.svg', 'safari-pinned-tab.svg'],\n      manifest: {\n        name: 'Vitesse',\n        short_name: 'Vitesse',\n        theme_color: '#ffffff',\n        icons: [\n          {\n            src: '/pwa-192x192.png',\n            sizes: '192x192',\n            type: 'image/png',\n          },\n          {\n            src: '/pwa-512x512.png',\n            sizes: '512x512',\n            type: 'image/png',\n          },\n          {\n            src: '/pwa-512x512.png',\n            sizes: '512x512',\n            type: 'image/png',\n            purpose: 'any maskable',\n          },\n        ],\n      },\n    }),\n\n    // https://github.com/intlify/bundle-tools/tree/main/packages/unplugin-vue-i18n\n    VueI18n({\n      runtimeOnly: true,\n      compositionOnly: true,\n      fullInstall: true,\n      include: [path.resolve(__dirname, 'locales/**')],\n    }),\n\n    // https://github.com/webfansplz/vite-plugin-vue-devtools\n    VueDevTools(),\n  ],\n\n  // https://github.com/vitest-dev/vitest\n  test: {\n    include: ['test/**/*.test.ts'],\n    environment: 'jsdom',\n  },\n\n  // https://github.com/antfu/vite-ssg\n  ssgOptions: {\n    script: 'async',\n    formatting: 'minify',\n    beastiesOptions: {\n      reduceInlineStyles: false,\n    },\n    onFinished() {\n      generateSitemap()\n    },\n  },\n\n  ssr: {\n    // TODO: workaround until they support native ESM\n    noExternal: ['workbox-window', /vue-i18n/],\n  },\n})\n"
  }
]