Skip to content

cnbloglabs/theme-template

Repository files navigation

acnb-theme-template

中文 | English

This is a starter template for building a cnblog theme, welcome to use!

Features

  • ⚡️ Vite 2, pnpm, ESBuild - born with fastness
  • 📥 Create cnblog theme APIs - use @acnb/core
  • 📦 Plugins out of the box - use @acnb/plugins
  • 🔨 Uni Options - use @acnb/options
  • 🌄 Cnblog templates - align with the cnblog html

Usage

Development

Just run and visit http://localhost:8080

pnpm dev

Build

To build the Theme, run

pnpm build

And you will see the generated file in dist that ready to be served.

Contribute

  1. Welcome to fork!
  2. Create your feature branch: git checkout -b your-new-feature
  3. Commit your changes: git commit -m "Add some feature
  4. Push to the branch: git push origin your-new-feature
  5. Submit a pull request