diff --git a/README.md b/README.md index 1511959c22b74118c06679739cf9abe2ceeea48c..10d6660a922dc25cf73257c882a151d0f94dd3e6 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,276 @@ -# Vue 3 + Vite +# CS:GO 收藏管理前端 -This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` +``` + +### 路由配置示例 + +```javascript +const routes = [ + { + path: '/', + name: 'Dashboard', + component: () => import('@/pages/dashboard/index.vue') + }, + { + path: '/steam', + name: 'Steam', + component: () => import('@/pages/steam/index.vue') + } +]; +``` + +## 常用命令 + +| 命令 | 说明 | +|------|------| +| `npm run dev` | 启动开发服务器 | +| `npm run build` | 构建生产版本 | +| `npm run preview` | 预览生产构建 | + +## 相关文档 + +- [Vue 3 官方文档](https://cn.vuejs.org/) +- [Vite 官方文档](https://vitejs.dev/) +- [PrimeVue 官方文档](https://primevue.org/) +- [Tailwind CSS 官方文档](https://tailwindcss.com/) +- [Pinia 状态管理](https://pinia.vuejs.org/zh/) +- [Vue Router 路由](https://router.vuejs.org/zh/) + +## 许可证 + +MIT License \ No newline at end of file