vuetify-nuxt-module 0.11.0 → 0.13.0
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 +2 -2
- package/dist/module.mjs +10 -7
- package/package.json +9 -9
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { parseQuery, parseURL } from 'ufo';
|
|
|
14
14
|
import destr from 'destr';
|
|
15
15
|
import { transformAssetUrls } from 'vite-plugin-vuetify';
|
|
16
16
|
|
|
17
|
-
const version = "0.
|
|
17
|
+
const version = "0.13.0";
|
|
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)}`;
|
|
@@ -1212,7 +1212,7 @@ export default defineNuxtPlugin({
|
|
|
1212
1212
|
nuxtApp.vueApp.use(vuetify)
|
|
1213
1213
|
nuxtApp.provide('vuetify', vuetify)
|
|
1214
1214
|
await nuxtApp.hooks.callHook('vuetify:ready', vuetify)
|
|
1215
|
-
if (
|
|
1215
|
+
if (import.meta.client)
|
|
1216
1216
|
isDev && console.log('Vuetify 3 initialized', vuetify)
|
|
1217
1217
|
},
|
|
1218
1218
|
})
|
|
@@ -1229,10 +1229,13 @@ function configureNuxt(configKey, nuxt, ctx) {
|
|
|
1229
1229
|
includeTransformAssetsUrls = true
|
|
1230
1230
|
} = ctx.moduleOptions;
|
|
1231
1231
|
const runtimeDir = ctx.resolver.resolve("./runtime");
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
}
|
|
1232
|
+
nuxt.options.build.transpile.push(configKey);
|
|
1233
|
+
nuxt.options.build.transpile.push(runtimeDir);
|
|
1234
|
+
nuxt.options.build.transpile.push(/\/vuetify-nuxt-plugin\.(client|server)\.mjs$/);
|
|
1235
|
+
nuxt.options.imports.transform ??= {};
|
|
1236
|
+
nuxt.options.imports.transform.include ??= [];
|
|
1237
|
+
for (const virtual of RESOLVED_VIRTUAL_MODULES)
|
|
1238
|
+
nuxt.options.imports.transform.include.push(new RegExp(`${virtual}$`));
|
|
1236
1239
|
nuxt.options.css ??= [];
|
|
1237
1240
|
if (typeof styles === "string" && ["sass", "expose"].includes(styles))
|
|
1238
1241
|
nuxt.options.css.unshift("vuetify/styles/main.sass");
|
|
@@ -1308,7 +1311,7 @@ const module = defineNuxtModule({
|
|
|
1308
1311
|
name: "vuetify-nuxt-module",
|
|
1309
1312
|
configKey: "vuetify",
|
|
1310
1313
|
compatibility: {
|
|
1311
|
-
nuxt: "^3.
|
|
1314
|
+
nuxt: "^3.9.0",
|
|
1312
1315
|
bridge: false
|
|
1313
1316
|
},
|
|
1314
1317
|
version
|
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@8.15.
|
|
4
|
+
"version": "0.13.0",
|
|
5
|
+
"packageManager": "pnpm@8.15.4",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -106,6 +106,13 @@
|
|
|
106
106
|
"vitest": "^1.1.3",
|
|
107
107
|
"vue-tsc": "^1.8.27"
|
|
108
108
|
},
|
|
109
|
+
"pnpm": {
|
|
110
|
+
"peerDependencyRules": {
|
|
111
|
+
"ignoreMissing": [
|
|
112
|
+
"@algolia/client-search"
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
},
|
|
109
116
|
"resolutions": {
|
|
110
117
|
"@nuxt/kit": "^3.10.2"
|
|
111
118
|
},
|
|
@@ -129,13 +136,6 @@
|
|
|
129
136
|
"vuetify"
|
|
130
137
|
]
|
|
131
138
|
},
|
|
132
|
-
"pnpm": {
|
|
133
|
-
"peerDependencyRules": {
|
|
134
|
-
"ignoreMissing": [
|
|
135
|
-
"@algolia/client-search"
|
|
136
|
-
]
|
|
137
|
-
}
|
|
138
|
-
},
|
|
139
139
|
"stackblitz": {
|
|
140
140
|
"installDependencies": false,
|
|
141
141
|
"startCommand": "node .stackblitz.js && pnpm install && nr prepack && nr dev:prepare && nr dev"
|