|
|
il y a 3 mois | |
|---|---|---|
| .vscode | il y a 1 an | |
| public | il y a 10 mois | |
| src | il y a 3 mois | |
| .env | il y a 1 an | |
| .env.development | il y a 3 mois | |
| .eslintrc-auto-import.json | il y a 1 an | |
| .eslintrc.cjs | il y a 1 an | |
| .gitignore | il y a 3 mois | |
| .prettierrc.json | il y a 1 an | |
| README.md | il y a 1 an | |
| index.html | il y a 1 an | |
| package.json | il y a 3 mois | |
| pnpm-lock.yaml | il y a 3 mois | |
| vite.config.js | il y a 3 mois |
This template should help get you started developing with Vue 3 in Vite.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
See Vite Configuration Reference.
pnpm install
pnpm dev
pnpm build
pnpm lint
🔥 使用 新的 <script setup> 语法
📥 API 自动加载 - 直接使用 Composition API 无需引入
🌍 API 采用模块化自动导入方式根据demo.js文件设置接口,以API_xxx_method的方式命名,在请求时无需导入 直接使用useRequest()函数返回参数以解构的方式获取,拿到即为写入的接口