npm安装和简单使用(win)

securitydoc- 运行准备

下载nodejs长期支持版10.16.3
npm安装


安装,双击666

  • 更换安装包的源
    npm install -g cnpm --registry=https://registry.npm.taobao.org
    

淘宝源

Project setup

//安装项目依赖

cnpm install

Compiles and hot-reloads for development

//启动开发模式
npm run start

Compiles and minifies for production

//打包生产代码
npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint
发布了157 篇原创文章 · 获赞 85 · 访问量 34万+

猜你喜欢

转载自blog.csdn.net/Areigninhell/article/details/103715711
今日推荐