随笔分类 - vue
摘要:1.nrm(npm registry manager )是npm的镜像源管理工具,有时候国外资源太慢,使用这个就可以快速地在 npm 源间切换. 2.nrm安装 npm install -g nrm 3.nrm查看源 nrm ls 4.nrm切换源 nrm use npm 5.nrm源恢复 nrm
阅读全文
摘要:"no-alert": 0,//禁止使用alert confirm prompt "no-array-constructor": 2,//禁止使用数组构造器 "no-bitwise": 0,//禁止使用按位运算符 "no-caller": 1,//禁止使用arguments.caller或arguments.callee "no-catch-shadow": 2,//禁止catch子句参数与外部...
阅读全文
摘要:1、安装node.js,详见《Centos610安装Vue.Js》 2、基于node.js,利用淘宝npm镜像安装相关依赖 在cmd里直接输入:npm install -g cnpm –-registry=https://registry.npm.taobao.org,回车,等待安装... 3、安装
阅读全文