@viseed/plugin-blog
v3.0.0
Published
Blog plugin for [Viseed CMS](https://viseed.github.io/cms). Adds posts and categories with Drizzle schema, full CRUD REST routes, and admin views (PostsView, CategoriesView). Also registers a `blog/latest-posts` widget type.
Readme
@viseed/plugin-blog
Blog plugin for Viseed CMS. Adds posts and categories with Drizzle schema, full CRUD REST routes, and admin views (PostsView, CategoriesView). Also registers a blog/latest-posts widget type.
Install
bun add @viseed/plugin-blogUsage
import { createCMS } from '@viseed/cms'
import { blogPlugin } from '@viseed/plugin-blog'
const cms = createCMS({ database: { url: process.env.DATABASE_URL! } })
cms.use(blogPlugin())
export default cms.fetchDocumentation
viseed.github.io/cms/plugins/overview
License
MIT
