10 2018 档案
vue-cli创建项目 一直downloading解决办法
摘要:vue-cli创建项目: 1 安装node(需要npm,npm是node的包管理股工具) 2 安装cnpm 3 安装vue-cli cnpm install vue-cli -g 4 创建项目 vue init webpack demo 创建步骤: 选择No,I will handle that m 阅读全文
posted @ 2018-10-13 17:13 半夏微澜ぺ 阅读(3257) 评论(0) 推荐(0) 编辑
Win7点击文件夹右键可打开cmd控制台,并获取当前目录
摘要:当我们用cmd时,有时要切换到某个文件夹的目录,可以在当前目录下,按住shift单击右键打开控制台,也可以在鼠标右键中添加cmd启动命令: 1.在开始搜索框输入regedit,打开注册表; 2.打开 HKEY_CLASSES_ROOT/Folder,右键shell,依次点击“新建/项,可以起任意名字 阅读全文
posted @ 2018-10-12 10:44 半夏微澜ぺ 阅读(2896) 评论(0) 推荐(0) 编辑
npm安装cnpm淘宝镜像
摘要:npm set registry https://registry.npm.taobao.org # 注册模块镜像 npm set disturl https://npm.taobao.org/dist # node-gyp 编译依赖的 node 源码镜像 npm cache clean --force # 清空缓存 npm install -g cnpm --registry=https:... 阅读全文
posted @ 2018-10-08 10:55 半夏微澜ぺ 阅读(265) 评论(0) 推荐(0) 编辑