vuetify-nuxt-module 0.5.12 → 0.5.13

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.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import * as vuetify from 'vuetify';
3
- import { VuetifyOptions, LocaleOptions, RtlOptions } from 'vuetify';
3
+ import { VuetifyOptions, createVuetify, LocaleOptions, RtlOptions } from 'vuetify';
4
4
  import * as vuetify_locale from 'vuetify/locale';
5
5
  import * as vuetify_labs_components from 'vuetify/labs/components';
6
6
  import * as vuetify_directives from 'vuetify/directives';
@@ -369,6 +369,7 @@ declare module '#app' {
369
369
  isDev: boolean;
370
370
  vuetifyOptions: VuetifyOptions;
371
371
  }) => Promise<void> | void;
372
+ 'vuetify:ready': (vuetify: ReturnType<typeof createVuetify>) => Promise<void> | void;
372
373
  'vuetify:ssr-client-hints': (options: {
373
374
  vuetifyOptions: VuetifyOptions;
374
375
  ssrClientHints: SSRClientHints;
package/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.5.12"
7
+ "version": "0.5.13"
8
8
  }
package/dist/module.mjs CHANGED
@@ -12,7 +12,7 @@ import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify';
12
12
  import { isAbsolute, join, relative } from 'pathe';
13
13
  import { normalizePath as normalizePath$1 } from 'vite';
14
14
 
15
- const version = "0.5.12";
15
+ const version = "0.5.13";
16
16
 
17
17
  const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
18
18
  const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
@@ -9,6 +9,7 @@ export async function configureVuetify() {
9
9
  const vuetify = createVuetify(vuetifyOptions);
10
10
  nuxtApp.vueApp.use(vuetify);
11
11
  nuxtApp.provide("vuetify", vuetify);
12
+ await nuxtApp.hooks.callHook("vuetify:ready", vuetify);
12
13
  if (process.client) {
13
14
  isDev && console.log("Vuetify 3 initialized", vuetify);
14
15
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.5.12",
5
- "packageManager": "pnpm@8.7.6",
4
+ "version": "0.5.13",
5
+ "packageManager": "pnpm@8.8.0",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",
8
8
  "license": "MIT",
@@ -128,4 +128,4 @@
128
128
  "installDependencies": false,
129
129
  "startCommand": "node .stackblitz.js && pnpm install && pnpm run dev"
130
130
  }
131
- }
131
+ }