vscode生成vue模版
首先,command + p 或 ctrl +p(windows) 唤出搜索文件的框,输入vue.json,回车,或者 Preferences → User Snippets → vue.json,然后将以下内容复制进去。...Continue reading >>
◎https://github.com/anzhihe/Free-Web-Books,相关课件+代码+资料
You can find all the books listed below in book folder of this repo:
HTML_and_CSS_Design_and_Build_Websites [Download]
Head First HTML...
最近在使用antd-v搞前端,想让国际化切换语言时图标也跟着换。
首先,先去 iconfont.cn 挑选想要的图标,加入购物车,然后下载下来解压。主要使用iconfont.js即可,demo_index.html里有使用方法,iconfont.css也可以看看。把 iconfont.js 放入 src/assets/iconfont/ 目录中,然后...
Continue reading >>五、类变量、类方法、实例变量、实例方法
先补充一下以前写过的方法:
在javascript中,所有的方法都有一个call方法和apply方法。这两个方法可以模拟对象调用方法。它的第一个参数是对象,后面的参数表示对象调用这个方法时的参数。(ECMAScript specifies two methods that are defined for all functions, call() and app...
Continue reading >>