wip:
This commit is contained in:
7 files changed
+338
-49
No files matched your search
@@ -11,6 +11,13 @@ export default defineNuxtModule({
|
||||
name: 'nuxt:devtools',
|
||||
devtools: {
|
||||
setup(ctx) {
|
||||
ctx.docks.register({
|
||||
id: 'vitest',
|
||||
type: 'iframe',
|
||||
icon: 'https://vitest.dev/logo.svg',
|
||||
title: 'Vitest',
|
||||
url: 'http://localhost:51204/__vitest__/#/',
|
||||
})
|
||||
ctx.docks.register({
|
||||
id: 'nuxt',
|
||||
type: 'iframe',
|
||||
@@ -18,6 +25,13 @@ export default defineNuxtModule({
|
||||
title: 'Nuxt',
|
||||
url: '/__nuxt_devtools__/client/',
|
||||
})
|
||||
ctx.docks.register({
|
||||
id: 'unocss',
|
||||
type: 'iframe',
|
||||
icon: 'https://unocss.dev/logo.svg',
|
||||
title: 'Vitest',
|
||||
url: '/__unocss',
|
||||
})
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user