8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
构建vue的时候,能不能指定使用什么命令?想使用cnpm进行构建。不然会出现下载不到依赖的情况 @srillia
The text was updated successfully, but these errors were encountered:
使用 --build-cmds 参与可以覆盖,默认的执行命令,eg: --build-cmds cnpm build:dev ,就可以取代程序原有来要执行的npm build:dev
--build-cmds cnpm build:dev
npm build:dev
1.切换淘宝源(同理,也可以使用其他源) npm config set registry https://registry.npm.taobao.org --global 2.验证配置 npm config get registry 3.使用cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org
npm config set registry https://registry.npm.taobao.org --global
npm config get registry
npm install -g cnpm --registry=https://registry.npm.taobao.org
Sorry, something went wrong.
No branches or pull requests
构建vue的时候,能不能指定使用什么命令?想使用cnpm进行构建。不然会出现下载不到依赖的情况 @srillia
The text was updated successfully, but these errors were encountered: