1 Star 0 Fork 2

xuliangzhan / vue-deploy-template

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README

基于 vue-cli 2 实现项目支持一键部署

查看博客

  1. 支持生成 zip 包
  2. 简化代理配置
  3. 支持本地测试访问生产包
  4. 基于 WinSCP 脚本支持一键部署
# 切换为官网:
npm config set registry https://registry.npmjs.org

# 切换为淘宝镜像
npm config set registry https://registry.npm.taobao.org

# 安装依赖
npm install

# 启动本地服务
npm run dev 或者 npm run serve

# 编译生产包
npm run build

# 编译并生成 zip 生产包
npm run build:zip 或者 npm run build zip=dist

# 访问生产包
npm run start

# 编译并访问生产包
npm run build:start

# 编译打包分析器报告
npm run build --report

# 一键部署
npm run deploy 或者 npm run deploy u=root p=123456

Empty file

About

基于 vue-cli 2 实现,window环境下支持项目一键部署到 Ubuntu 服务器 expand collapse
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
JavaScript
1
https://gitee.com/xuliangzhan_admin/vue-deploy-template.git
git@gitee.com:xuliangzhan_admin/vue-deploy-template.git
xuliangzhan_admin
vue-deploy-template
vue-deploy-template
master

Search