摘要: 先打开Finder ->按快捷键组合 Shift+Command+G 三个组合按键,并输入 Hosts 文件的所在路径:/etc/hosts 找到hosts文件拷贝一份到桌面 添加0.0.0.0 account.jetbrains.com 然后替换/etc/hosts 注册时,在打开的License 阅读全文
posted @ 2017-08-07 09:32 AnisCode 阅读(1153) 评论(0) 推荐(0)
摘要: npm init npm install -g vue-cli (读写权限 : 前面加sudo) 检测版本 vue -V vue init webpack vue-example (创建项目文件夹) 按提示: cd vue-example npm install npm run dev 阅读全文
posted @ 2017-08-07 08:58 AnisCode 阅读(151) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-04-20 15:12 AnisCode 阅读(3) 评论(0) 推荐(0)
摘要: 1 function Person() { 2 this.name = 'Anis'; 3 } 4 Person.prototype.showName = function () { 5 alert(this.name); 6 }; 7 8 var p1 = new Person(); 9 // p1.showName(); 10 11 12 extend... 阅读全文
posted @ 2016-04-19 09:26 AnisCode 阅读(125) 评论(0) 推荐(0)
摘要: sublime Text3官方文档中文版:http://feliving.github.io/Sublime-Text-3-Documentation/sublime Text插件下载网站:https://sublime.wbond.net/Sublime Text install package 阅读全文
posted @ 2016-04-18 11:33 AnisCode 阅读(439) 评论(0) 推荐(0)
摘要: 函数里定义一个和外部变量一样名称的变量时,变量的声明会提升至第一句,赋值则不会变。所以上述语句其实是这样执行的 阅读全文
posted @ 2016-04-18 11:26 AnisCode 阅读(103) 评论(0) 推荐(0)