vuetify-nuxt-module 0.4.5 → 0.4.6
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/README.md +1 -0
- package/dist/module.d.ts +4 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/plugins/config.mjs +1 -0
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
- 🛠️ **Versatile**: custom Vuetify [directives](https://vuetifyjs.com/en/getting-started/installation/#manual-steps) and [labs components](https://vuetifyjs.com/en/labs/introduction/) registration
|
|
34
34
|
- ✨ **Configurable Styles**: configure your variables using [Vuetify SASS Variables](https://vuetifyjs.com/en/features/sass-variables/)
|
|
35
35
|
- 💥 **SSR**: automatic SSR detection and configuration
|
|
36
|
+
- 🔥 **Pure CSS Icons**: no more font/js icons, use the new `unocsss-mdi` icon set or build your own with UnoCSS Preset Icons
|
|
36
37
|
- 😃 **Icon Fonts**: configure the [icon font](https://vuetifyjs.com/en/features/icon-fonts/) you want to use, the module will automatically import it for you using CDN or local dependencies
|
|
37
38
|
- 🎭 **SVG Icons**: ready to use [@mdi/js](https://www.npmjs.com/package/@mdi/js) and [@fortawesome/vue-fontawesome](https://www.npmjs.com/package/@fortawesome/vue-fontawesome) SVG icons packs
|
|
38
39
|
- 📦 **Multiple Icon Sets**: register [multiple icon sets](https://vuetifyjs.com/en/features/icon-fonts/#multiple-icon-sets)
|
package/dist/module.d.ts
CHANGED
|
@@ -200,6 +200,10 @@ declare module '#app' {
|
|
|
200
200
|
isDev: boolean;
|
|
201
201
|
vuetifyOptions: VuetifyOptions;
|
|
202
202
|
}) => Promise<void> | void;
|
|
203
|
+
'vuetify:before-create': (options: {
|
|
204
|
+
isDev: boolean;
|
|
205
|
+
vuetifyOptions: VuetifyOptions;
|
|
206
|
+
}) => Promise<void> | void;
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
209
|
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { isAbsolute, join, relative } from 'pathe';
|
|
|
6
6
|
import { normalizePath as normalizePath$1 } from 'vite';
|
|
7
7
|
import { isPackageExists } from 'local-pkg';
|
|
8
8
|
|
|
9
|
-
const version = "0.4.
|
|
9
|
+
const version = "0.4.6";
|
|
10
10
|
|
|
11
11
|
function isSubdir(root, test) {
|
|
12
12
|
const relative$1 = relative(root, test);
|
|
@@ -5,6 +5,7 @@ export async function configureVuetify() {
|
|
|
5
5
|
const nuxtApp = useNuxtApp();
|
|
6
6
|
const vuetifyOptions = vuetifyConfiguration();
|
|
7
7
|
await nuxtApp.hooks.callHook("vuetify:configuration", { isDev, vuetifyOptions });
|
|
8
|
+
await nuxtApp.hooks.callHook("vuetify:before-create", { isDev, vuetifyOptions });
|
|
8
9
|
const vuetify = createVuetify(vuetifyOptions);
|
|
9
10
|
nuxtApp.vueApp.use(vuetify);
|
|
10
11
|
nuxtApp.provide("vuetify", vuetify);
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vuetify-nuxt-module",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
5
|
-
"packageManager": "pnpm@8.6.
|
|
4
|
+
"version": "0.4.6",
|
|
5
|
+
"packageManager": "pnpm@8.6.8",
|
|
6
6
|
"description": "Zero-Config Nuxt Module for Vuetify",
|
|
7
7
|
"author": "userquin <userquin@gmail.com>",
|
|
8
8
|
"license": "MIT",
|
|
@@ -47,13 +47,12 @@
|
|
|
47
47
|
"dev:generate:multiple-json": "MULTIPLE_LANG_FILES=true nuxi generate playground",
|
|
48
48
|
"dev:preview": "nuxi preview playground",
|
|
49
49
|
"docs:dev": "pnpm -C docs run dev",
|
|
50
|
-
"docs:build": "pnpm -C docs run build",
|
|
50
|
+
"docs:build": "pnpm dev:prepare && pnpm -C docs run build",
|
|
51
51
|
"docs:serve": "pnpm -C docs run serve",
|
|
52
52
|
"lint": "eslint .",
|
|
53
53
|
"lint:fix": "nr lint --fix",
|
|
54
54
|
"test": "vitest run",
|
|
55
55
|
"test:watch": "vitest watch",
|
|
56
|
-
"postinstall": "pnpm dev:prepare",
|
|
57
56
|
"prepublishOnly": "pnpm build",
|
|
58
57
|
"release": "bumpp && npm publish"
|
|
59
58
|
},
|
|
@@ -75,6 +74,7 @@
|
|
|
75
74
|
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
76
75
|
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
77
76
|
"@fortawesome/vue-fontawesome": "^3.0.3",
|
|
77
|
+
"@iconify-json/carbon": "^1.1.18",
|
|
78
78
|
"@iconify-json/mdi": "^1.1.53",
|
|
79
79
|
"@mdi/js": "^7.2.96",
|
|
80
80
|
"@nuxt/devtools": "^0.6.7",
|
|
@@ -114,6 +114,11 @@
|
|
|
114
114
|
"pnpm": {
|
|
115
115
|
"patchedDependencies": {
|
|
116
116
|
"@nuxtjs/i18n@8.0.0-beta.13": "patches/@nuxtjs__i18n@8.0.0-beta.13.patch"
|
|
117
|
+
},
|
|
118
|
+
"peerDependencyRules": {
|
|
119
|
+
"ignoreMissing": [
|
|
120
|
+
"@algolia/client-search"
|
|
121
|
+
]
|
|
117
122
|
}
|
|
118
123
|
},
|
|
119
124
|
"stackblitz": {
|