Skip to content

Commit

Permalink
feat: include Vuetify Polaris changes (3.5.0) (#208)
Browse files Browse the repository at this point in the history
* feat: include Vuetify Polaris changes (3.5.0)

* chore: update docs entries
  • Loading branch information
userquin authored Mar 27, 2024
1 parent 1347207 commit afc8cbf
Show file tree
Hide file tree
Showing 15 changed files with 1,437 additions and 2,320 deletions.
1 change: 1 addition & 0 deletions date-io-playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export default defineNuxtConfig({
typescriptBundlerResolution: true,
},
features: {
devLogs: false,
inlineStyles: false,
},
experimental: {
Expand Down
6 changes: 3 additions & 3 deletions date-io-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
"moment": "^2.29.4",
"moment-hijri": "^2.1.2",
"moment-jalaali": "0.9.2",
"nuxt": "^3.10.2",
"nuxt": "^3.11.1",
"sass": "^1.63.6",
"typescript": "^5.3.3",
"vue-tsc": "^1.8.27",
"typescript": "^5.4.3",
"vue-tsc": "^2.0.7",
"vuetify-nuxt-module": "workspace:*"
}
}
7 changes: 7 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export default withPwa(defineConfig({
text: 'Contributing',
link: 'https://github.com/userquin/vuetify-nuxt-module/blob/main/CONTRIBUTING.md',
},
{
text: 'FAQ',
link: '/guide/faq',
},
],
},
],
Expand Down Expand Up @@ -180,6 +184,9 @@ export default withPwa(defineConfig({
}, {
text: 'Date Support',
link: '/guide/date',
}, {
text: 'FAQ',
link: '/guide/faq',
}],
}],
},
Expand Down
15 changes: 15 additions & 0 deletions docs/guide/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# FAQ

## Maximum call stack size exceeded error

If you're getting a `Maximum call stack size exceeded` error when starting Nuxt dev server after upgrading to the latest Nuxt version (`3.11.0+`), disable `devLogs` in your Nuxt config file:
```ts
export default defineNuxtConfig({
features: {
devLogs: false,
},
})
```

This PR [fix(nuxt): support serialising rich server logs](https://github.com/nuxt/nuxt/pull/26503) should fix the error in the next Nuxt release (`v3.12.0` or `v4.0.0`).

2 changes: 2 additions & 0 deletions docs/guide/vuetify-composables.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ No more Vuetify composables manual imports, auto import is enabled by default:
- [useLocale](https://vuetifyjs.com/en/api/use-locale/)
- [useRtl](https://vuetifyjs.com/en/api/use-rtl/)
- [useTheme](https://vuetifyjs.com/en/api/use-theme/)
- [useGoTo](https://vuetifyjs.com/en/api/use-go-to/): from Vuetify `v3.5.0+` (Polaris) and Vuetify Nuxt Module `v0.13.1+`

You can disable auto-import using `moduleOptions.importComposables: false`.

Expand All @@ -19,4 +20,5 @@ If you are using another composables that collide with the Vuetify ones, enable
- `useLocale` => `useVLocale`
- `useRtl` => `useVRtl`
- `useTheme` => `useVTheme`
- `useGoTo` => `useVGoTo`: from Vuetify `v3.5.0+` (Polaris) and Vuetify Nuxt Module `v0.13.1+`

4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"generate-pwa-icons": "pwa-assets-generator"
},
"dependencies": {
"vue": "^3.3.13"
"vue": "^3.4.21"
},
"devDependencies": {
"@iconify-json/carbon": "^1.1.27",
Expand All @@ -20,6 +20,6 @@
"@vite-pwa/vitepress": "^0.3.1",
"sitemap": "^7.1.1",
"unocss": "^0.58.0",
"vitepress": "1.0.0-rc.33"
"vitepress": "^1.0.1"
}
}
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vuetify-nuxt-module",
"type": "module",
"version": "0.13.0",
"packageManager": "pnpm@8.15.4",
"packageManager": "pnpm@8.15.5",
"description": "Zero-Config Nuxt Module for Vuetify",
"author": "userquin <userquin@gmail.com>",
"license": "MIT",
Expand Down Expand Up @@ -66,15 +66,15 @@
},
"dependencies": {
"@nuxt/kit": "^3.9.0",
"defu": "^6.1.3",
"destr": "^2.0.2",
"defu": "^6.1.4",
"destr": "^2.0.3",
"local-pkg": "^0.5.0",
"pathe": "^1.1.1",
"pathe": "^1.1.2",
"perfect-debounce": "^1.0.0",
"ufo": "^1.3.2",
"ufo": "^1.5.3",
"unconfig": "^0.3.11",
"vite-plugin-vuetify": "^2.0.1",
"vuetify": "^3.5.1"
"vite-plugin-vuetify": "^2.0.3",
"vuetify": "^3.5.12"
},
"devDependencies": {
"@antfu/eslint-config": "^0.43.1",
Expand Down Expand Up @@ -103,8 +103,8 @@
"sass": "^1.63.6",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vitest": "^1.1.3",
"vue-tsc": "^1.8.27"
"vitest": "^1.4.0",
"vue-tsc": "^2.0.7"
},
"pnpm": {
"peerDependencyRules": {
Expand All @@ -114,7 +114,7 @@
}
},
"resolutions": {
"@nuxt/kit": "^3.10.2"
"@nuxt/kit": "3.11.1"
},
"build": {
"externals": [
Expand Down
1 change: 1 addition & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default defineNuxtConfig({
typescriptBundlerResolution: false,
},
features: {
devLogs: false,
inlineStyles: false,
},
experimental: {
Expand Down
10 changes: 5 additions & 5 deletions playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"@iconify-json/mdi": "^1.1.55",
"@mdi/js": "^7.3.67",
"luxon": "^3.4.3",
"vuetify": "^3.5.1"
"vuetify": "^3.5.12"
},
"devDependencies": {
"@nuxtjs/i18n": "^8.0.0",
"@nuxtjs/i18n": "^8.2.0",
"@unocss/nuxt": "^0.58.4",
"nuxt": "^3.10.0",
"nuxt": "^3.11.1",
"sass": "^1.63.6",
"typescript": "^5.3.3",
"vue-tsc": "^1.8.27",
"typescript": "^5.4.3",
"vue-tsc": "^2.0.7",
"vuetify-nuxt-module": "workspace:*"
}
}
1 change: 0 additions & 1 deletion playground/plugins/vuetify.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('vuetify:before-create', ({ isDev, vuetifyOptions }) => {
// eslint-disable-next-line n/prefer-global/process
if (import.meta.client && isDev) {
// eslint-disable-next-line no-console
console.log('vuetify:plugin:hook', vuetifyOptions)
Expand Down
Loading

0 comments on commit afc8cbf

Please sign in to comment.