@seidhr/sanity-plugin-dashboard-widget-muna-docs
v3.0.0
Published
Just links to Muna documentation, for now
Downloads
1
Readme
sanity-plugin-dashboard-widget-muna-docs
Just links to Muna documentation, for now.
Installation
npm install @seidhr/sanity-plugin-dashboard-widget-muna-docs
Add this code to your sanity.condig.ts
:
import { munaDocsWidget } from '@seidhr/sanity-plugin-dashboard-widget-muna-docs'
export default defineConfig({
name: 'default',
title: 'example-studio',
//...
plugins: [
dashboardTool({
widgets: [
munaDocsWidget({ layout: { width: 'small' } }),
]
}),
],
//...
})
Example sanity.json:
{
"plugins": [
"@sanity/base",
"@sanity/components",
"@sanity/default-layout",
"@sanity/default-login",
"@sanity/dashboard",
"@sanity/desk-tool",
"@seidhr/sanity-plugin-dashboard-widget-muna-docs"
],
"parts": [
{
"name": "part:@sanity/base/schema",
"path": "./schemas/schema"
},
{
"implements": "part:@sanity/dashboard/config",
"path": "./dashboardConfig.js"
},
]
}
License
MIT © Tarje Lavik. See LICENSE