|
1 ヶ月 前 | |
---|---|---|
.vscode | 5 ヶ月 前 | |
public | 3 ヶ月 前 | |
src | 1 ヶ月 前 | |
.env | 5 ヶ月 前 | |
.env.development | 3 ヶ月 前 | |
.eslintrc-auto-import.json | 5 ヶ月 前 | |
.eslintrc.cjs | 5 ヶ月 前 | |
.gitignore | 5 ヶ月 前 | |
.prettierrc.json | 5 ヶ月 前 | |
README.md | 5 ヶ月 前 | |
index.html | 5 ヶ月 前 | |
package.json | 3 ヶ月 前 | |
pnpm-lock.yaml | 3 ヶ月 前 | |
vite.config.js | 5 ヶ月 前 |
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()函数返回参数以解构的方式获取,拿到即为写入的接口