vuetify-nuxt-module 0.13.5 → 0.14.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 +4 -4
- package/package.json +4 -4
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { pathToFileURL } from 'node:url';
|
|
|
14
14
|
import { parseQuery, parseURL } from 'ufo';
|
|
15
15
|
import destr from 'destr';
|
|
16
16
|
|
|
17
|
-
const version = "0.
|
|
17
|
+
const version = "0.14.1";
|
|
18
18
|
|
|
19
19
|
const VIRTUAL_VUETIFY_CONFIGURATION = "virtual:vuetify-configuration";
|
|
20
20
|
const RESOLVED_VIRTUAL_VUETIFY_CONFIGURATION = `/@nuxt-vuetify-configuration/${VIRTUAL_VUETIFY_CONFIGURATION.slice("virtual:".length)}`;
|
|
@@ -774,9 +774,9 @@ async function buildConfiguration(ctx) {
|
|
|
774
774
|
config.aliasEntries.push(`'${key}': ${component}`);
|
|
775
775
|
});
|
|
776
776
|
componentsToImport.forEach((componentsArray, from) => {
|
|
777
|
-
config.imports.push(`import {${componentsArray.join(",")}} from 'vuetify/components/${from}'`);
|
|
777
|
+
config.imports.push(`import {${Array.from(new Set(componentsArray)).join(",")}} from 'vuetify/components/${from}'`);
|
|
778
778
|
});
|
|
779
|
-
let addDatePicker = true;
|
|
779
|
+
let addDatePicker = ctx.vuetify3_4 === true ? !Array.from(componentsToImport.values()).some((components2) => components2.includes("VDatePicker")) : true;
|
|
780
780
|
if (labComponents) {
|
|
781
781
|
const useLabComponents = [];
|
|
782
782
|
if (typeof labComponents === "boolean") {
|
|
@@ -819,7 +819,7 @@ async function buildConfiguration(ctx) {
|
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
componentsToImport.forEach((componentsArray, from) => {
|
|
822
|
-
config.imports.push(`import {${componentsArray.join(",")}} from 'vuetify/labs/${from}'`);
|
|
822
|
+
config.imports.push(`import {${Array.from(new Set(componentsArray)).join(",")}} from 'vuetify/labs/${from}'`);
|
|
823
823
|
});
|
|
824
824
|
}
|
|
825
825
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-nuxt-module",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "0.14.1",
|
|
5
|
+
"packageManager": "pnpm@9.1.2",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"ufo": "^1.5.3",
|
|
75
75
|
"unconfig": "^0.3.11",
|
|
76
76
|
"vite-plugin-vuetify": "^2.0.3",
|
|
77
|
-
"vuetify": "^3.5
|
|
77
|
+
"vuetify": "^3.6.5"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@antfu/eslint-config": "^0.43.1",
|
|
@@ -140,4 +140,4 @@
|
|
|
140
140
|
"installDependencies": false,
|
|
141
141
|
"startCommand": "node .stackblitz.js && pnpm install && nr prepack && nr dev:prepare && nr dev"
|
|
142
142
|
}
|
|
143
|
-
}
|
|
143
|
+
}
|