![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
qq_37899482
这个作者很懒,什么都没留下…
展开
-
vscode常用插件
vscode 常用插件 1.编辑器设置中文语言 Chinese (Simplified) Language Pack for Visual Studio Code 2.编辑vue文件 vetur 3.文件主题 Material Icon Theme 4.打开浏览器 open in browser 5.自动书写HTML关闭标签 Auto Close Tag 6.修改html标签头部,尾部随之改变 Auto Close Tag 7.代码缩进按颜色区分显示 indent-rainbow 8.git代码查看调试 G原创 2020-07-05 16:44:13 · 161 阅读 · 0 评论 -
vue 封装全局方法
vue封装全局方法 方式一 1.封装 const util = { getCookie:()=>{ return null; } } module.exports = util; 2.调用 import util from '../assets/js/util.js' util.getCookie(); 方式二 1.封装 export function getCookie(){ ...原创 2019-11-20 21:09:39 · 466 阅读 · 0 评论