node安装依赖

前端之家收集整理的这篇文章主要介绍了node安装依赖前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
node 版本:v6.11.2 npm 版本:3.10.10 

开发(在UI目录下)

# 安装依赖 npm install    ## 若上述不行则采取下面命令 npm install --registry=https://registry.npm.taobao.org # 本地开发 开启服务 npm run dev 

浏览器访问 http://localhost:9527

发布

# 构建生成环境 npm run build:prod


npm install -g cnpm --registry=https://registry.npm.taobao.org cd litemall/litemall-admin cnpm install cnpm run dev

猜你在找的设计模式相关文章