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 +1 -1
- package/dist/module.mjs +12 -13
- package/package.json +2 -2
package/dist/module.json
CHANGED
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.
|
|
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
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
moduleOptions.
|
|
90
|
-
|
|
91
|
-
|
|
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.
|
|
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
|
+
}
|