当前位置 : 主页 > 手机开发 > 其它 >

node安装依赖

来源:互联网 收集:自由互联 发布时间:2021-06-22
node 版本: v6 .11 .2 npm 版本:3 .10 .10 开发(在UI目录下) # 安装依赖 npm install ## 若上述不行则采取下面命令 npm install --registry=https://registry.npm.taobao.org # 本地开发 开启服务 npm run dev 浏览
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
网友评论