Skip to content

Commit 259853b

Browse files
committed
fix: prioritize vue-devtools plugin registation, fix #823, fix #822
1 parent 11812ab commit 259853b

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

packages/devtools/src/integrations/vue-devtools.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export async function setup({ nuxt }: NuxtDevtoolsServerContext) {
1010
addPluginTemplate({
1111
name: 'vue-devtools-client',
1212
mode: 'client',
13+
order: -1_000,
1314
src: await resolvePath(join(runtimeDir, 'vue-devtools-client')),
1415
})
1516
}

playgrounds/tab-pinia/nuxt.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ export default defineNuxtConfig({
3232
pinia: {
3333
autoImports: ['defineStore', 'acceptHMRUpdate'],
3434
},
35+
36+
compatibilityDate: '2025-03-25',
3537
})

playgrounds/tab-pinia/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"pinia": "catalog:frontend"
1414
},
1515
"devDependencies": {
16+
"@exampledev/new.css": "catalog:playground",
1617
"cypress": "catalog:cli",
1718
"nuxt": "catalog:buildtools"
1819
}

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ catalogs:
9898
'@iconify-json/simple-icons': ^1.2.29
9999
'@iconify-json/tabler': ^1.2.17
100100

101+
playground:
102+
'@exampledev/new.css': ^1.1.3
103+
101104
prod:
102105
'@nuxt/kit': ^3.16.1
103106
'@vue/devtools-kit': ^7.7.2

0 commit comments

Comments
 (0)