一个集成了现代前端技术栈的 Halo 2.0 的主题开发模板。
简单的公司官网主题
主题开发文档可查阅:https://docs.halo.run/2.0.0-SNAPSHOT/developer-guide/theme/prepare
- 使用 Vite 进行静态资源构建。
- 使用 Tailwind CSS 进行样式开发。
- 使用 thymeleaf JS 进行html开发。
- 使用 @tailwindcss/typography 作为内容样式。
- 使用 Iconify + tailwindcss-plugin-icons 作为图标方案。
- 集成了 Alpine.js。
- 集成了 ESLint + Prettier。
git clone git@github.com:halo-dev/theme-simple-official-website.git ~/halo2-dev/themes/theme-simple-official-website
cd ~/halo2-dev/themes/theme-simple-official-website
pnpm install
pnpm dev