Skip to content

Reagan1947/Ordinary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


The Ordinary
Ordinary

CNBlog blog template theme.

1.1 CNBlog Custom Theme Ordinary

This is a CNblog blog template theme built on Tona.

1.2 Quick Start

If you wish to customize or further develop your blog theme, please refer to the following steps:

1.2.1 Install Dependencies

pnpm install

1.2.2 Development Command

pnpm dev

1.2.3 Building Command

pnpm build

1.3 Project Struct

.
├── src/
│   ├── main.js      # Theme Entry File
│   └── style.css    # Style File
├── vite.config.mjs  # Vite Configration File
└── package.json     # Project Settings

1.4 Development Guide

1.4.1 Create Plugin

In src/main.js, you can register plugins using createTheme().use():

import { createTheme } from 'tona'
import './style.css'

function myPlugin() {
  // The logic of your plud
}

createTheme().use(myPlugin)

1.4.2 Writing CSS Styles

Write your theme styles in src/style.css.

1.5 More information and how to use the theme

1.6 LICENSE

This content is distributed under the MIT license.

About

CNBlog Custom theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published