美文网首页
2019-02-22

2019-02-22

作者: IT宝哥哥 | 来源:发表于2019-02-22 14:59 被阅读0次
    //git放弃修改,合并分支
    git checkout .
    rm -f 放弃修改的文件
    git merge 分支名称
    
    //yarn npm 配置下载仓库
    npm config set registry=https://registry.npm.taobao.org
    npm config get registry //获取配置
    yarn config set registry 'https://registry.npm.taobao.org'
    yarn config get registry //获取配置
    
    npm install -f //强制重新安装(即使已经安装)
    yarn add [package] //安装
    
    //homestead 运行npm run watch
    1.yarn install --no-bin-links
    2.yarn add webpack --no-bin-links
    3.删除package.json中的“cross-env”字段(linux\mac平台)
    4.npm run watch

    相关文章

      网友评论

          本文标题:2019-02-22

          本文链接:https://www.haomeiwen.com/subject/nfreyqtx.html