摘要: 1、安装vue-baidu-map组件 npm install vue-baidu-map --save 2、在mian.js 中注册 vue-baidu-map import BaiduMap from 'vue-baidu-map' Vue.use(BaiduMap, { ak: '你的申请的a 阅读全文
posted @ 2022-06-17 15:44 樽中月 阅读(555) 评论(0) 推荐(0) 编辑
摘要: 1. 打开package.json 2. 删除文件里的如下内容,总之就是带eslint的删干净 "@vue/cli-plugin-eslint": "^4.0.0", "babel-eslint": "^10.0.1", "eslint": "^5.16.0", "eslint-plugin-vue 阅读全文
posted @ 2022-06-17 15:10 樽中月 阅读(2156) 评论(0) 推荐(0) 编辑