Go to file
2025-04-10 15:47:40 +08:00
.vscode first commit 2025-04-10 15:47:40 +08:00
app first commit 2025-04-10 15:47:40 +08:00
env first commit 2025-04-10 15:47:40 +08:00
i18n first commit 2025-04-10 15:47:40 +08:00
public first commit 2025-04-10 15:47:40 +08:00
server/middleware first commit 2025-04-10 15:47:40 +08:00
ssl first commit 2025-04-10 15:47:40 +08:00
.gitignore first commit 2025-04-10 15:47:40 +08:00
.npmrc first commit 2025-04-10 15:47:40 +08:00
index.html first commit 2025-04-10 15:47:40 +08:00
nuxt.config.js first commit 2025-04-10 15:47:40 +08:00
package.json first commit 2025-04-10 15:47:40 +08:00
pnpm-lock.yaml first commit 2025-04-10 15:47:40 +08:00
README.md first commit 2025-04-10 15:47:40 +08:00
tsconfig.json first commit 2025-04-10 15:47:40 +08:00
uno.config.js first commit 2025-04-10 15:47:40 +08:00

cover

nuxt-vant-mobile

一个基于 Nuxt 生态系统的移动端 Web 应用模板。

一个基于 Nuxt 生态系统的移动端 Web 应用模板,帮助你快速完成业务开发。

license version repo-size languages issues

文档 / 交流 / 反馈

🖥 在线预览

Netlify Status

特性

  • 💚 Nuxt - SSR、ESR、基于文件的路由、组件自动导入、模块等

  • Vite - 即时热更新

  • 🎨 UnoCSS - 即时按需原子化 CSS 引擎

  • 😃 使用纯 CSS 的任意图标集,由 UnoCSS 提供支持

  • 🔥 <script setup> 语法

  • 🌍 国际化支持

  • 📑 布局系统

  • 📥 API 自动导入 - 用于 Composition API 和自定义组合式函数

  • 🦾 当然支持 TypeScript

  • ☁️ 零配置部署在 Netlify

Nuxt 模块

  • Vant - 移动端 Vue UI 库
  • Nuxt ESLint - Nuxt 的 ESLint 相关包集合
  • i18n - Nuxt 的国际化模块
  • ColorMode - 支持自动检测的深色和浅色模式
  • UnoCSS - 即时按需原子化 CSS 引擎
  • DevTools - 释放 Nuxt 开发者体验

IDE

我们推荐使用 VS Code 搭配 Volar 以获得最佳体验(如果你安装了 Vetur,建议禁用它)

立即尝试

GitHub 模板

从 GitHub 上使用此模板创建仓库

克隆到本地

如果你更喜欢手动操作并保持更清晰的 git 历史

npx tiged easy-temps/nuxt-vant-mobile my-nuxt-app
cd my-nuxt-app
pnpm i # 如果你没有安装 pnpm请运行npm install -g pnpm

使用方法

开发

只需运行并访问 http://localhost:3000

pnpm dev

构建

要构建应用,运行

pnpm build

你将在 .output 目录中看到生成的可以部署的文件。