Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/agileago/fe-vue2-template
vue-cli vue2模板
https://github.com/agileago/fe-vue2-template
Last synced: 5 days ago
JSON representation
vue-cli vue2模板
- Host: GitHub
- URL: https://github.com/agileago/fe-vue2-template
- Owner: agileago
- Created: 2021-10-31T00:02:31.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-29T12:18:47.000Z (over 2 years ago)
- Last Synced: 2024-04-17T10:19:00.868Z (10 months ago)
- Language: TypeScript
- Size: 947 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue2-template
基于vue-cli的vue2模板,适用于对兼容性高要求的项目
# 启动
```shell
pnpm i
pnpm run dev
```# 配置说明
### 项目打包配置
1. 一个环境新增加一个 `.env` 文件,如打包是不需要部署在二级路径可不增加
2. 项目的一些配置在 `src/config` 文件夹中,同样,每个环境增加一个配置
# 打包
```shell
# 开发环境部署
pnpm run develop
# 测试环境部署
pnpm run release
# 生产环境部署
pnpm run master
# 其他环境部署
pnpm run build --mode other
```