mirror of
https://github.com/halo-dev/plugin-starter.git
synced 2025-10-14 07:01:30 +00:00
b82aa9316bcdd7b2200c20f1bd962c2a93a5a393

### What this PR does? 优化项目配置 - 使用 Halo plugin maven 依赖替换原先 lib 依赖,为了此依赖必须将 gradle 升级至 8 版本 - 将 resources/console 加入到 .gitignore 中 - 增加了 .editconfig 配置 ```release-note None ```
plugin-starter
Halo 2.0 插件开发快速开始模板。
开发环境
插件开发的详细文档请查阅:https://docs.halo.run/developer-guide/plugin/hello-world
git clone git@github.com:halo-sigs/plugin-starter.git
# 或者当你 fork 之后
git clone git@github.com:{your_github_id}/plugin-starter.git
cd path/to/plugin-starter
# macOS / Linux
./gradlew pnpmInstall
# Windows
./gradlew.bat pnpmInstall
# macOS / Linux
./gradlew build
# Windows
./gradlew.bat build
修改 Halo 配置文件:
halo:
plugin:
runtime-mode: development
fixedPluginPath:
- "/path/to/plugin-starter"
Languages
Vue
54.7%
TypeScript
29.9%
Java
15.4%