Vue 专题

官方网站:

https://cn.vuejs.org/index.html

 

vue cli脚手架

https://cli.vuejs.org/zh/guide/installation.html

 

vue cli 配置文件

https://cli.vuejs.org/zh/config/#devserver-proxy

 

vue-nuxt服务端渲染

https://blog.csdn.net/weixin_37946518/article/details/101776635

 

vue-element 组件

https://element.eleme.cn/#/zh-CN/component/button

 

vue-axios 请求

https://github.com/axios/axios

 

axios 使用 application/x-www-form-urlencoded format

https://github.com/axios/axios#browser

 

解决@keyup.enter  在第三方组件上无效问题

https://blog.csdn.net/weixin_42762988/article/details/84951265

 

vue-cli3静态资源static assets项目结构

https://cli.vuejs.org/zh/guide/html-and-static-assets.html#public-%E6%96%87%E4%BB%B6%E5%A4%B9

https://segmentfault.com/a/1190000014456796?utm_source=index-hottest

 

地区选择

https://dwqs.github.io/vue-area-linkage/

https://distpicker.pigjian.com/

 

vue-后台案例模板

https://github.com/PanJiaChen/vue-element-admin

https://github.com/iview/iview-admin

https://github.com/vue-bulma/vue-admin

 

vue 常用插件集合

https://github.com/vuejs/awesome-vue#components--libraries

https://baijiahao.baidu.com/s?id=1629138670094636894&wfr=spider&for=pc

https://vuejsexamples.com/tag/picker/

 

vue解决字段类型为数字导致单选不正确的问题

https://cloud.tencent.com/developer/article/1335432

 

Vue 插槽内容

https://cn.vuejs.org/v2/guide/components-slots.html#%E6%8F%92%E6%A7%BD%E5%86%85%E5%AE%B9

 

Vue vuex 中使用modules及namespaced的注意事项

commit要这样写

this.$store.commit('cart/addCart', $data);  // cart 即为namespace

https://www.iteye.com/blog/haohetao-2420515

 

npm run server 卡住问题解决

查看编辑器里是否有红色报错信息, 有的话删除掉再重新run下

https://segmentfault.com/q/1010000018787253

 

vue一些数据操作

删除数据里的某一项:


delPlan(index){
    // 通过splice
    this.developerContract.planList.splice(index, 1)
    // 通过$delete
    this.$delete(this.developerContract.planList,index)
}

数组里某个元素上移下移

moveUp(list, index){
    if (index === 0){
         return
    }
    let temp = list[index-1]
    this.$set(list,index -1, list[index] )
    this.$set(list,index, temp )
},
moveDown(list, index){
   if ((list.length -1) === index){
       return
   }
   let temp = list[index+1]
   this.$set(list,index +1, list[index] )
   this.$set(list,index, temp )
},

vue elementUI 表单校验(数组多层嵌套)

https://www.cnblogs.com/beileixinqing/p/10969828.html

 

npm run serve   node进程cpu占用过高

$ sudo ps aux | grep node | grep -v grep | awk '{print $2}' | xargs sudo dtruss -p

删除项目中的node_modules  再重新npm install下

再 npm update下

 

Vue强制视图刷新方法

https://blog.csdn.net/tangdou5682/article/details/99946515

 

Vue页面卡死点击无反应问题

https://blog.csdn.net/JackieMing0328/article/details/85790855

执行 this.$forceUpdate()强制刷新视图层

参考:

http://blog.starpoetry.cn/2018/12/04/Vue-proxy/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值