@dascompany/ui-layer-npm 1.0.0 → 1.0.2
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/package.json +1 -6
- package/app/plugins/vuetify.ts +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dascompany/ui-layer-npm",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Nuxt 4 layer with Vuetify 3 — distributed via npm",
|
|
5
5
|
"main": "./nuxt.config.ts",
|
|
6
6
|
"files": [
|
|
@@ -15,11 +15,6 @@
|
|
|
15
15
|
"vuetify": "^3.0.0",
|
|
16
16
|
"vite-plugin-vuetify": "^2.0.0"
|
|
17
17
|
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"nuxt": "^4.0.0",
|
|
20
|
-
"vuetify": "^3.8.0",
|
|
21
|
-
"vite-plugin-vuetify": "^2.0.4"
|
|
22
|
-
},
|
|
23
18
|
"publishConfig": {
|
|
24
19
|
"access": "public"
|
|
25
20
|
}
|
package/app/plugins/vuetify.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { createVuetify } from 'vuetify'
|
|
2
|
-
import * as components from 'vuetify/components'
|
|
3
|
-
import * as directives from 'vuetify/directives'
|
|
4
|
-
import 'vuetify/styles'
|
|
5
|
-
|
|
6
|
-
export default defineNuxtPlugin((nuxtApp) => {
|
|
7
|
-
// Guard against double-registration when multiple layers include this plugin
|
|
8
|
-
if (nuxtApp.vueApp.config.globalProperties.$vuetify) return
|
|
9
|
-
|
|
10
|
-
const vuetify = createVuetify({
|
|
11
|
-
components,
|
|
12
|
-
directives,
|
|
13
|
-
theme: {
|
|
14
|
-
defaultTheme: 'light'
|
|
15
|
-
}
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
nuxtApp.vueApp.use(vuetify)
|
|
19
|
-
})
|