@viseed/plugin-menu
v1.1.1
Published
Menu management plugin for [Viseed CMS](https://viseed.github.io/cms). Adds menu and menu item tables, full CRUD REST routes, and an admin view (MenusView). Injects `menuMain` and `menuFooter` data into the theme context via the `theme:beforeRender` hook.
Downloads
44
Readme
@viseed/plugin-menu
Menu management plugin for Viseed CMS. Adds menu and menu item tables, full CRUD REST routes, and an admin view (MenusView). Injects menuMain and menuFooter data into the theme context via the theme:beforeRender hook.
Install
bun add @viseed/plugin-menuUsage
import { createCMS } from '@viseed/cms'
import { menuPlugin } from '@viseed/plugin-menu'
const cms = createCMS({ database: { url: process.env.DATABASE_URL! } })
cms.use(menuPlugin())
export default cms.fetchDocumentation
viseed.github.io/cms/plugins/overview
License
MIT
