Skip to content

Commit 4241988

Browse files
committed
feat: upgrade devframe and Vite DevTools, update branding
1 parent 7dac16d commit 4241988

6 files changed

Lines changed: 707 additions & 234 deletions

File tree

‎assets/nuxt-devtools-dark.svg‎

Lines changed: 16 additions & 0 deletions
Loading

‎assets/nuxt-devtools-light.svg‎

Lines changed: 16 additions & 0 deletions
Loading

‎assets/nuxt.svg‎

Lines changed: 3 additions & 0 deletions
Loading

‎packages/devtools/src/module-main.ts‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,16 @@ export async function enableModule(options: ModuleOptions, nuxt: Nuxt) {
130130
publicDevServerOrigin=newURL(listener.url).origin
131131
})
132132

133-
constDevTools=awaitimport('@vitejs/devtools').then(r=>r.DevTools())
133+
constDevTools=awaitimport('@vitejs/devtools').then(r=>r.DevTools({
134+
branding: {
135+
productName: 'Nuxt DevTools',
136+
tagline: 'DevTools for Nuxt',
137+
primaryColor: '#099e61',
138+
logo: 'https://nuxt.com/assets/design-kit/icon-green.svg',
139+
wordmark: 'https://nuxt.com/assets/design-kit/logo-green-white.svg',
140+
windowTitle: 'Nuxt DevTools',
141+
},
142+
}))
134143
addVitePlugin(DevTools)
135144

136145
// Deferred: will be set when Vite DevTools plugin setup runs

0 commit comments

Comments
 (0)