mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
Import drizzle replacing prisma
Signed-off-by: Arthur DANJOU <arthurdanjou@outlook.fr>
This commit is contained in:
20
modules/drizzle-studio.ts
Normal file
20
modules/drizzle-studio.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
import { defineNuxtModule } from 'nuxt/kit'
|
||||
import { addCustomTab } from '@nuxt/devtools-kit'
|
||||
|
||||
export default defineNuxtModule({
|
||||
meta: {
|
||||
name: 'drizzle-studio',
|
||||
version: '0.0.1'
|
||||
},
|
||||
setup() {
|
||||
addCustomTab({
|
||||
name: 'drizzle-studio',
|
||||
title: 'Drizzle Studio',
|
||||
icon: 'simple-icons:drizzle',
|
||||
view: {
|
||||
type: 'iframe',
|
||||
src: 'https://local.drizzle.studio/?themeId=azX2nOTScT9U6SWEmlq7z'
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user