vuetify-nuxt-module 0.5.0 → 0.5.1

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.5.0"
7
+ "version": "0.5.1"
8
8
  }
package/dist/module.mjs CHANGED
@@ -10,7 +10,7 @@ import { resolveVuetifyBase, normalizePath, writeStyles, cacheDir } from '@vueti
10
10
  import { isAbsolute, join, relative } from 'pathe';
11
11
  import { normalizePath as normalizePath$1 } from 'vite';
12
12
 
13
- const version = "0.5.0";
13
+ const version = "0.5.1";
14
14
 
15
15
  const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
16
16
  const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
@@ -79,18 +79,16 @@ async function mergeVuetifyModules(options, nuxt) {
79
79
  if (nuxt.options._layers.length > 1) {
80
80
  for (let i = 1; i < nuxt.options._layers.length; i++) {
81
81
  const layer = nuxt.options._layers[i];
82
- if (layer.config.vuetify) {
83
- const resolvedOptions2 = await loadVuetifyConfiguration(
84
- layer.config.rootDir,
85
- layer.config.vuetify.vuetifyOptions
86
- );
87
- if (resolvedOptions2.sources.length)
88
- resolvedOptions2.sources.forEach((s) => vuetifyConfigurationFilesToWatch.add(s.replace(/\\/g, "/")));
89
- moduleOptions.push({
90
- moduleOptions: layer.config.vuetify.moduleOptions,
91
- vuetifyOptions: resolvedOptions2.config
92
- });
93
- }
82
+ const resolvedOptions2 = await loadVuetifyConfiguration(
83
+ layer.config.rootDir,
84
+ layer.config.vuetify?.vuetifyOptions
85
+ );
86
+ if (resolvedOptions2.sources.length)
87
+ resolvedOptions2.sources.forEach((s) => vuetifyConfigurationFilesToWatch.add(s.replace(/\\/g, "/")));
88
+ moduleOptions.push({
89
+ moduleOptions: layer.config.vuetify?.moduleOptions,
90
+ vuetifyOptions: resolvedOptions2.config
91
+ });
94
92
  }
95
93
  }
96
94
  const resolvedOptions = await loadVuetifyConfiguration(
@@ -612,6 +610,7 @@ function vuetifyConfigurationPlugin(ctx) {
612
610
  icons: _icons,
613
611
  localeMessages: _localeMessages,
614
612
  components: _components,
613
+ labComponents: _labComponents,
615
614
  ssr,
616
615
  aliases: _aliases,
617
616
  ...newVuetifyOptions
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.5.0",
4
+ "version": "0.5.1",
5
5
  "packageManager": "pnpm@8.6.9",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",
@@ -138,4 +138,4 @@
138
138
  "installDependencies": false,
139
139
  "startCommand": "node .stackblitz.js && pnpm install && pnpm run dev"
140
140
  }
141
- }
141
+ }