frontend-js-auto-build-temp.../README.md
Mars160 c856a819d4
All checks were successful
Gitea Actions 自动编译Vite APP / build-and-release (push) Successful in 1m26s
first commit
2024-11-05 01:32:27 +08:00

22 lines
897 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 前端 JS 仓库自动编译模板
> 受够了周老师版本过老的服务器?没关系!
>
> 欢迎使用老学长留下的前端JS自动编译模板
>
> 作者:王新昀
## 如何使用
Fork本仓库然后在你Fork的仓库中开发就好当你push到master分支时服务器会自动编译最新代码并将编译结果放在上面的**版本发布**里面。
然后写个脚本自动获取最新编译的压缩包并部署就好啦!
## 注意
由于本模板监听master分支也就是主分支所以不建议直接在master分支开发
建议新建一个dev分支在dev分支准备发布新版本时再将其merge到master分支
本仓库以Vite+Vue为例创建如果实际开发中不是这个组合也**完全没关系**,你可以自由删改**除去.github文件夹**的所有文件!本仓库的自动编译理论上来说是通用的!