随笔分类 -  VUE与VUE相关

Vue、element、sass等
Vue中Duplicate keys detected错误
摘要:错误如下 拿到公司一个小哥哥的代码,一来就报了一堆bug,吓得我先写一篇博客 vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: '/system'. This may cause an update error. fou 阅读全文
posted @ 2020-07-07 23:02 爱IT的小狐狸 阅读(37296) 评论(0) 推荐(2)
Vue router报错:NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated"}
摘要:Uncaught (in promise) NavigationDuplicated {_name: "NavigationDuplicated", name: "NavigationDuplicated", message: "Navigating to current location ("/l 阅读全文
posted @ 2020-06-10 22:15 爱IT的小狐狸 阅读(348) 评论(0) 推荐(0)
VUE使用地图组件
摘要:vue-amap使用 1、下载: npm install vue-amap --save 2、使用:(在 main.js中) import VueAMap from 'vue-amap'; Vue.use(VueAMap); // 初始化vue-amap VueAMap.initAMapApiLoa 阅读全文
posted @ 2020-06-10 22:03 爱IT的小狐狸 阅读(2460) 评论(0) 推荐(0)
elementUI 步骤条
摘要:使用 elementUI 的步骤条, 效果图如下: 1、安装 elementUI npm i element-ui -S 在 main.js中引入: import ElementUI from 'element-ui'; import 'element-ui/lib/theme-chalk/inde 阅读全文
posted @ 2020-06-10 21:49 爱IT的小狐狸 阅读(7260) 评论(0) 推荐(0)
VUE项目兼容IE浏览器
摘要:今天接了甲方爸爸一个需求,要兼容IE浏览器!记录如下 : 我使用 vue-cli 搭建的项目,chorm浏览器一切正常,但是IE浏览器却是一片空白,出现这种问题,是因为缺少 babel-polyfill 处理器的缘故; 1、安装 babel-polyfill npm install babel-po 阅读全文
posted @ 2020-06-10 21:29 爱IT的小狐狸 阅读(1837) 评论(0) 推荐(0)
element-ui 组件改变样式
摘要:title: element-ui 组件改变样式 date: 2020-03-18 11:45:55 tags: elementUI elementUI 是第三方组件库,样式修改需要借助样式穿透 .block/deep/.el-pagination margin: 20px auto text-al 阅读全文
posted @ 2020-03-18 12:26 爱IT的小狐狸 阅读(593) 评论(0) 推荐(0)
element-ui 弹出框在遮罩层下面
摘要:title: element-ui 弹出框在遮罩层下面 date: 2020-03-18 11:37:45 tags: elementUI 给 <el-dialog></el-dialog>添加:modal-append-to-body="false"属性 <el-dialog title="提示" 阅读全文
posted @ 2020-03-18 12:25 爱IT的小狐狸 阅读(2945) 评论(0) 推荐(0)
在vue中添加ico图标
摘要:准备:添加 ico图标在与index.html同级的目录 第一种方法: 在index.html中引入: <link rel="shortcuticon" type="image/x-icon" href="./favicon.ico" /> 第二种方法 在webpack.dev.conf.js 和 阅读全文
posted @ 2019-12-05 09:46 爱IT的小狐狸 阅读(3503) 评论(0) 推荐(0)
在Vue中添加css扩展语言sass
摘要:npm install vue-loader --save-dev npm install node-sass --save-dev npm install sass-loader --save-dev npm install style-loader --save-dev 安装完上述插件之后,就可 阅读全文
posted @ 2019-12-05 09:36 爱IT的小狐狸 阅读(628) 评论(0) 推荐(0)