Skip to content

Commit

Permalink
fix: enable propsDestructure
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <zhangtianli2006@163.com>
  • Loading branch information
ZTL-UwU committed Sep 5, 2024
1 parent 4f076d3 commit 8ed6406
Show file tree
Hide file tree
Showing 5 changed files with 333 additions and 270 deletions.
8 changes: 4 additions & 4 deletions docs/developer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"nuxt": "^3.13.0",
"shadcn-docs-nuxt": "^0.5.0",
"nuxt": "^3.13.1",
"shadcn-docs-nuxt": "^0.5.2",
"tailwindcss": "^3.4.10",
"tailwindcss-animate": "^1.0.7",
"vue": "^3.4.38",
"vue": "^3.5.1",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@iconify-json/ph": "^1.1.14"
"@iconify-json/ph": "^1.2.0"
}
}
6 changes: 3 additions & 3 deletions docs/user/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
"postinstall": "nuxt prepare"
},
"dependencies": {
"nuxt": "^3.13.0",
"shadcn-docs-nuxt": "^0.5.0",
"nuxt": "^3.13.1",
"shadcn-docs-nuxt": "^0.5.2",
"tailwindcss": "^3.4.10",
"tailwindcss-animate": "^1.0.7",
"vue": "^3.4.38",
"vue": "^3.5.1",
"vue-router": "^4.4.3"
}
}
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ export default defineNuxtConfig({
'notivue/animations.css',
'notivue/notification-progress.css',
],
// May be removed in nuxt 3.13.2
vue: {
propsDestructure: true,
},
components: [
{
path: '~/components',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"unocss": "^0.58.9",
"vite": "^5.4.3",
"vitest": "^1.6.0",
"vue": "^3.5.0",
"vue": "^3.5.1",
"vue-router": "^4.4.3",
"vue-tsc": "^2.1.4"
}
Expand Down
Loading

0 comments on commit 8ed6406

Please sign in to comment.