vuetify-nuxt-module 0.4.2 → 0.4.3

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.4.2"
7
+ "version": "0.4.3"
8
8
  }
package/dist/module.mjs CHANGED
@@ -6,7 +6,7 @@ import { resolveVuetifyBase, normalizePath, writeStyles, cacheDir } from '@vueti
6
6
  import { isAbsolute, join, relative } from 'pathe';
7
7
  import { normalizePath as normalizePath$1 } from 'vite';
8
8
 
9
- const version = "0.4.2";
9
+ const version = "0.4.3";
10
10
 
11
11
  function isSubdir(root, test) {
12
12
  const relative$1 = relative(root, test);
@@ -696,19 +696,19 @@ const module = defineNuxtModule({
696
696
  });
697
697
  const runtimeDir = resolver.resolve("./runtime");
698
698
  addPlugin({
699
- src: resolver.resolve(runtimeDir, "plugins/vuetify.ts")
699
+ src: resolver.resolve(runtimeDir, `plugins/vuetify${i18n ? "-sync" : ""}`)
700
700
  });
701
701
  addPlugin({
702
- src: resolver.resolve(runtimeDir, "plugins/vuetify-icons.ts")
702
+ src: resolver.resolve(runtimeDir, "plugins/vuetify-icons")
703
703
  });
704
704
  if (i18n) {
705
705
  addPlugin({
706
- src: resolver.resolve(runtimeDir, "plugins/vuetify-i18n.ts")
706
+ src: resolver.resolve(runtimeDir, "plugins/vuetify-i18n")
707
707
  });
708
708
  }
709
709
  if (dateAdapter) {
710
710
  addPlugin({
711
- src: resolver.resolve(runtimeDir, "plugins/vuetify-date.ts")
711
+ src: resolver.resolve(runtimeDir, "plugins/vuetify-date")
712
712
  });
713
713
  }
714
714
  }
@@ -0,0 +1,2 @@
1
+ declare const _default: any;
2
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { configureVuetify } from "./config.mjs";
2
+ import { defineNuxtPlugin } from "#imports";
3
+ import { useNuxtApp } from "#app";
4
+ export default defineNuxtPlugin({
5
+ name: "vuetify:configuration:plugin",
6
+ enforce: "post",
7
+ // i18n runtime plugin is async
8
+ parallel: false,
9
+ setup() {
10
+ useNuxtApp().hook("app:created", configureVuetify);
11
+ }
12
+ });
@@ -4,7 +4,6 @@ import { useNuxtApp } from "#app";
4
4
  export default defineNuxtPlugin({
5
5
  name: "vuetify:configuration:plugin",
6
6
  enforce: "post",
7
- parallel: false,
8
7
  setup() {
9
8
  useNuxtApp().hook("app:created", configureVuetify);
10
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.4.2",
4
+ "version": "0.4.3",
5
5
  "packageManager": "pnpm@8.6.7",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify ",
7
7
  "author": "userquin <userquin@gmail.com>",
@@ -114,4 +114,4 @@
114
114
  "installDependencies": false,
115
115
  "startCommand": "node .stackblitz.js && pnpm install && pnpm run dev"
116
116
  }
117
- }
117
+ }