• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






天生自然

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年3月25日

解决:Git错误:warning: adding embedded git repository: hint: You've added another git repository inside your current repository
摘要: 原因: 即在本地初始化的仓库(使用 git init的文件夹) 中的某一个文件夹,也含有 .git 文件 。 解决: 删除子文件夹里的.git文件,然后重新add、commit、push 阅读全文
posted @ 2022-03-25 14:32 吴裕雄 阅读(4223) 评论(0) 推荐(1)
 
解决: Can't resolve 'vuex-persistedstate'
摘要: npm i -S vuex-persistedstate 阅读全文
posted @ 2022-03-25 13:48 吴裕雄 阅读(1005) 评论(0) 推荐(1)
 
解决:vue3-解决elementui组件中文问题
摘要: import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' import axios from 'axios' import 阅读全文
posted @ 2022-03-25 13:41 吴裕雄 阅读(742) 评论(0) 推荐(0)
 
vue3.x安装element
摘要: npm install element-plus --save https://element-plus.gitee.io/zh-CN/guide/installation.html#%E4%BD%BF%E7%94%A8%E5%8C%85%E7%AE%A1%E7%90%86%E5%99%A8 阅读全文
posted @ 2022-03-25 13:09 吴裕雄 阅读(150) 评论(0) 推荐(0)
 
解决:should always be multi-word vue/multi-word-component-names
摘要: 编辑 .eslintrc.js , overrides: [ { files: ['src/components/**/*.vue'], rules: { 'vue/multi-word-component-names': 0, }, }, ] 阅读全文
posted @ 2022-03-25 12:11 吴裕雄 阅读(2025) 评论(0) 推荐(0)
 
vue设置反向代理解决跨域请求关键代码
摘要: 在vue项目的根节点下创建vue.config.js文件。 module.exports = { devServer: { proxy: { ///api是后端数据接口的上下文路径 '/api': { //这里的地址是后端数据接口的地址 target: 'http://111.229.37.167/ 阅读全文
posted @ 2022-03-25 11:15 吴裕雄 阅读(75) 评论(0) 推荐(0)