随笔分类 -  Vue

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要:https://www.cnblogs.com/xyyt/p/10431173.html http://kouss.com/vue-no-cache.html 解决Vue入口文件index.html缓存问题 2018年11月16日 爱搞机 7533次浏览 之前每次更新tool.chaozhi.hk的 阅读全文
posted @ 2020-06-08 10:56 ThisCall 阅读(4022) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/5f9db6b8914b 有时候在项目中我们需要在页面完成一些操作后,进行页面刷新.文中重点介绍provide / inject组合是vue2.2.0新增的api 解决方案以及出现的问题 1.this.$router.go(0). 通过路由跳转的方 阅读全文
posted @ 2020-06-06 15:29 ThisCall 阅读(935) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/namechenfl/article/details/90370596 使用keepAlive缓存页面,一可以减少服务器请求次数,二则可以在用户返回上一页后记忆到上次浏览位置(ios端微信浏览器不适用,不兼容,需要另行配置:见例子(1)) keep-ali 阅读全文
posted @ 2020-06-06 15:15 ThisCall 阅读(276) 评论(0) 推荐(0)
摘要:vue 路由传参 params 与 query两种方式的区别 vue 路由传参 params 与 query两种方式的区别 初学vue的时候,不知道如何在方法中跳转界面并传参,百度过后,了解到两种方式,params 与 query。然后,错误就这么来了: router文件下index.js里面,是这 阅读全文
posted @ 2020-06-06 14:54 ThisCall 阅读(1296) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/b77db7b74987 https://blog.csdn.net/u014263809/article/details/86063035 缓存,监听,全局store传参 阅读全文
posted @ 2020-06-06 14:51 ThisCall 阅读(7418) 评论(0) 推荐(0)
摘要:https://segmentfault.com/q/1010000010340823 为什么要有 hash 和 history 对于 Vue 这类渐进式前端开发框架,为了构建 SPA(单页面应用),需要引入前端路由系统,这也就是 Vue-Router 存在的意义。前端路由的核心,就在于 —— 改变 阅读全文
posted @ 2020-06-06 11:21 ThisCall 阅读(172) 评论(0) 推荐(0)
摘要:https://github.com/jaweii/Vue-Layout https://github.com/L-Chris/vue-design https://github.com/fireyy/vue-page-designer https://github.com/OXOYO/X-Page 阅读全文
posted @ 2020-06-02 22:22 ThisCall 阅读(4434) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_42618566/article/details/91045282 返回上一页 https://blog.csdn.net/weixin_42406046/article/details/83579263 缓存路径 https://www.cnblo 阅读全文
posted @ 2020-05-30 23:04 ThisCall 阅读(93) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/d1a3fb71eb99 阅读全文
posted @ 2020-05-23 11:01 ThisCall 阅读(4550) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_36800701/article/details/80325273 https://www.jianshu.com/p/35c85b10cade https://blog.csdn.net/landl_ww/article/details/79149 阅读全文
posted @ 2020-05-15 20:38 ThisCall 阅读(1516) 评论(0) 推荐(0)
摘要:https://segmentfault.com/a/1190000020617036 https://blog.csdn.net/weixin_33755847/article/details/91435432 https://www.codercto.com/a/75188.html 阅读全文
posted @ 2020-05-14 13:04 ThisCall 阅读(100) 评论(0) 推荐(0)
摘要:https://blog.51cto.com/ellard/2155117?source=dra 本文只是针对维护老项目,需要修改或者重新写新的jsp页面的同学。 开始 1、 jsp 和html(vue)页面有申明区别 我觉得本质上没什么区别,只是jsp是后端渲染 ,而我们使用vue大都是前端渲染2 阅读全文
posted @ 2020-05-07 13:59 ThisCall 阅读(2483) 评论(0) 推荐(0)
摘要:https://cli.vuejs.org/zh/config/ https://www.jianshu.com/p/b358a91bdf2d https://blog.csdn.net/u012302552/article/details/81742907 https://www.cnblogs. 阅读全文
posted @ 2020-05-05 12:28 ThisCall 阅读(1026) 评论(0) 推荐(0)
摘要:cnpm install core-js@2 阅读全文
posted @ 2020-05-05 10:28 ThisCall 阅读(1662) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_42991509/article/details/91828733 阅读全文
posted @ 2020-04-29 20:33 ThisCall 阅读(405) 评论(0) 推荐(0)
摘要:https://www.csdn.net/gather_21/MtTaAgwsNjgzOC1ibG9n.html https://blog.csdn.net/YYYYYun/article/details/100698279 https://www.cnblogs.com/new-life/p/11 阅读全文
posted @ 2020-04-29 11:58 ThisCall 阅读(4747) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/ed6010ab868e 用vue做的项目,有个需求就是关闭浏览器的时候,需要往后台提交有个接口,来监听这个账号有没有下线。 网上找了很多种方法,一直没有实现。 主要困惑点: 1、浏览器关闭是事件,是什么 onbeforeunload、onunlo 阅读全文
posted @ 2020-04-28 09:16 ThisCall 阅读(10983) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/zyulike/p/11190012.html 1,去掉编译文件中map文件。在编译好后,我们会看到文件夹下有特别多的.map文件,这些文件主要是帮助我们线上调试代码,查看样式。所以为了避免部署包过大,通常都不生成这些文件。 在 config/inde 阅读全文
posted @ 2020-04-27 13:15 ThisCall 阅读(282) 评论(0) 推荐(0)
摘要:https://www.csdn.net/gather_25/MtTaAgysMDQ5MC1ibG9n.html https://www.jianshu.com/p/724fb4cef0b4 https://blog.csdn.net/weixin_36934930/article/details/ 阅读全文
posted @ 2020-04-24 16:51 ThisCall 阅读(2260) 评论(0) 推荐(0)
摘要:vue如何封装一个通用组件 https://www.jianshu.com/p/233d17dfbd16 vue如何封装一个全局组件 https://www.jianshu.com/p/c784342d3ebb vue封装公共头部组件 https://blog.csdn.net/qq_3838857 阅读全文
posted @ 2020-04-24 14:26 ThisCall 阅读(246) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页