valaxyjs / valaxy-theme-starter

🎨 Starter template for valaxy-theme.
https://starter.valaxy.site
MIT License
10 stars 2 forks source link
blog starter theme valaxy

Valaxy-Theme-Starter(vue)

npm npm dev dependency version

This is a template for creating a valaxy theme.

Usage

Clone to local

Use pnpm, because we need its workspace.

npx degit YunYouJun/valaxy-theme-starter valaxy-theme-name

cd valaxy-theme-name

# If you don't have pnpm installed
npm install -g pnpm

pnpm i

Development

# dev node
pnpm dev
# dev client
pnpm demo

Build

pnpm build

Release

Publish to npm.

Manual

pnpm ci:publish

Auto by GitHub Actions

You can release it by github actions.

Click Settings -> Secrets -> Actions in your GitHub repo.

Add New repository secret:

npm run release
# choose your version to automatic release

Checklist

About Checklist Rename

Rename valaxy-theme-starter with valaxy-theme-name in the package.json and valaxy.config.ts files.

PS: there are a total of four files that need to be rename

valaxy-theme-name
  - package.json
  - demo
    - package.json
    - valaxy.config.ts
  - theme
    - package.json

Let's write the theme & docs!

Thanks

Starter theme ref theme:

Sponsors