vuetify-nuxt-module 0.6.6 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.6.6"
7
+ "version": "0.6.7"
8
8
  }
package/dist/module.mjs CHANGED
@@ -15,7 +15,7 @@ import { parseQuery, parseURL } from 'ufo';
15
15
  import destr from 'destr';
16
16
  import { transformAssetUrls } from 'vite-plugin-vuetify';
17
17
 
18
- const version = "0.6.6";
18
+ const version = "0.6.7";
19
19
 
20
20
  const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
21
21
  const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
@@ -1301,10 +1301,10 @@ function configureNuxt(configKey, nuxt, ctx) {
1301
1301
  references.push({ types: "vuetify-nuxt-module/configuration" });
1302
1302
  });
1303
1303
  if (importComposables) {
1304
- const composables = ["useLocale", "useDefaults", "useDisplay", "useLayout", "useRtl", "useTheme"];
1304
+ const composables = ["useDate", "useLocale", "useDefaults", "useDisplay", "useLayout", "useRtl", "useTheme"];
1305
1305
  addImports(composables.map((name) => ({
1306
1306
  name,
1307
- from: "vuetify",
1307
+ from: ctx.vuetify3_4 || name !== "useDate" ? "vuetify" : "vuetify/labs/date",
1308
1308
  as: prefixComposables ? name.replace(/^use/, "useV") : void 0,
1309
1309
  meta: { docsUrl: `https://vuetifyjs.com/en/api/${toKebabCase(name)}/` }
1310
1310
  })));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.6.6",
4
+ "version": "0.6.7",
5
5
  "packageManager": "pnpm@8.10.2",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",
@@ -132,4 +132,4 @@
132
132
  "installDependencies": false,
133
133
  "startCommand": "node .stackblitz.js && pnpm install && pnpm dev:prepare && pnpm run dev"
134
134
  }
135
- }
135
+ }