arch-nuxt-lite

v2026.09.24

Vitesse Lite — lightweight Vite + Vue 3 SPA with file-based routing, UnoCSS, VueUse, Vitest. Use when scaffolding or maintaining a simple Vue SPA with this stack.

GitHub
安装命令
npx skhub add hairyf/arch-nuxt-lite
Markdown
SKILL.md

arch-nuxt-lite (Vitesse Lite) is the lightweight Vite + Vue 3 SPA starter: file-based routing via unplugin-vue-router, components and composables auto-import, UnoCSS, VueUse, and Vitest. No SSR, i18n, layouts, SSG, PWA, or Markdown. Prefer it for simple client-only apps; use arch-nuxt or Nuxt for SSR.

The skill is based on vitesse-lite (arch-nuxt-lite source), generated at 2026-01-30.

Recommended practices:

  • Prefer Vite + unplugin-vue-router for file-based routing; keep routes in src/pages
  • Use ~/ alias for src/ in imports
  • Use VueUse (useDark, useToggle, useCounter, etc.) and composables in src/composables; all auto-imported

Core References

TopicDescriptionReference
OverviewProject purpose, structure, stack, when to usecore-overview
App structureEntry, RouterView, path alias, App.vuecore-app-structure
Vite configdefineConfig, plugins, alias, Vitestcore-vite-config
Scriptsbuild, dev, lint, typecheck, preview, testcore-scripts
CIGitHub Actions — build, test, lint, typecheck matrixcore-ci
ESLint@antfu/eslint-config, unocss, formatters, pnpmcore-eslint

Features

TopicDescriptionReference
Routingunplugin-vue-router, file-based routes, useRoute/useRouter, typed paramsfeatures-routing
Componentsunplugin-vue-components, auto-import, UnoCSS iconsfeatures-components
Composablesunplugin-auto-import, composables dir, dark mode (useDark, useToggle)features-composables
UnoCSSuno.config.ts, shortcuts, presets, icons, web fontsfeatures-unocss
TestingVitest, jsdom, component tests with @vue/test-utilsfeatures-testing
DeployNetlify, netlify.toml, SPA redirectfeatures-deploy

Best Practices

TopicDescriptionReference
RoutingFile-based routing patterns, dynamic/catch-all routesbest-practices-routing
发现
标签

此技能尚未发布标签。

版本
最新版本元数据

版本

v2026.09.24

发布时间

2026年9月24日

分类

未分类

许可证

MIT

源路径

skills/arch-nuxt-lite

默认分支

main

最新提交

4f463c7

Tree SHA

73bcd03