摘要: 在.eslintrc.cjs添加 rules:{ 'vue/multi-word-component-names': 0 } } 阅读全文
posted @ 2024-09-06 20:22 浮白呀 阅读(14) 评论(0) 推荐(0)
摘要: 一般在util下的http.js中配置 import axios from "axios"; //创建实例基地址 const httpInstance=axios.create({ baseURL:"http://pcapi-xiaotuxian-front-devtest.itheima.net" 阅读全文
posted @ 2024-09-06 20:05 浮白呀 阅读(19) 评论(0) 推荐(0)
摘要: element有一套默认的颜色,我们可以根据需求去配置 1.前置 首先elementplus和自动导入插件要配置好 npm i elementPlus npm install -D unplugin-vue-components unplugin-auto-import 且在vite.config. 阅读全文
posted @ 2024-09-06 18:27 浮白呀 阅读(1340) 评论(0) 推荐(0)
摘要: 无论是学习项目还是企业项目,我们都需要进行项目管理方便回退 在码云上创建一个简单的项目仓库 复制项目http地址 在vsCode上初始化 git init git add . git commit -m "first" 4.项目连接 git remote add origin +项目地址 5.假如已 阅读全文
posted @ 2024-09-06 13:23 浮白呀 阅读(11) 评论(0) 推荐(0)