pjblog-theme-sentice

1.0.5 • Public • Published

PJBlog主题制作模板。

主题命名必须以pjblog-theme-开头

Clone repository

$ git clone git@github.com:pjblog/pjblog-template-theme.git
$ cd pjblog-template-theme
$ rm -rf .git
$ npm i

Development

$ npm run dev

Compile

$ npm run build

Publish

$ npm publish

Notice

  1. vite.config.ts 中的 themeConfigs 变量配置主题的参数,当然这个参数配置与theme.configs.json中的需要一致。
  2. 本主题开发为完全自由开发模式,所有接口都已封装于@pjblog/hooks中,开发者只需要调用里面的hooks即可简单完成逻辑绑定与渲染。
  3. 主题开发框架为codixjs,开发者需要阅读此框架的文档以便理解开发模式。PJBlog主题开发采用服务端SSR模式,利于SEO,且固定主题框架为codixjs
  4. 更多开发参考 pjblog-theme-darkspacepjblog-theme-default 两个主题的开发代码。

Dependencies (12)

Dev Dependencies (9)

Package Sidebar

Install

npm i pjblog-theme-sentice

Weekly Downloads

0

Version

1.0.5

License

none

Unpacked Size

2.45 MB

Total Files

126

Last publish

Collaborators

  • evio