|
||
---|---|---|
.github/workflows | ||
.husky | ||
.vscode | ||
gradle/wrapper | ||
src | ||
templates | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
.gitpod.yml | ||
.lintstagedrc.json | ||
.prettierrc.js | ||
LICENSE | ||
Makefile | ||
OWNERS | ||
README.md | ||
build.gradle | ||
env.d.ts | ||
gradlew | ||
gradlew.bat | ||
package.json | ||
pnpm-lock.yaml | ||
postcss.config.js | ||
prettier.config.js | ||
screenshot.jpg | ||
settings.gradle | ||
settings.yaml | ||
tailwind.config.cjs | ||
theme.yaml | ||
tsconfig.json | ||
vite.config.ts |
README.md
Earth
Halo 2.0 的默认主题。
开发
git clone git@github.com:halo-dev/theme-earth.git ~/halo2-dev/themes/theme-earth
cd ~/halo2-dev/themes/theme-earth
pnpm install
pnpm dev
主题开发文档可查阅:https://docs.halo.run/2.0.0-SNAPSHOT/developer-guide/theme/prepare
构建
如果你使用的是 Windows 操作系统,请安装
make
命令并在 Git Bash 或 WSL 中执行。
make build
然后将 dist
目录压缩成 ZIP
格式压缩包即可在 Halo 后台上传安装。