Rewrite to TailwindCSS, enhance the DOM, uninstall Vuetify, improve styles

This commit is contained in:
2024-06-16 22:24:01 +03:00
parent 9339416c1b
commit e72a61b317
50 changed files with 1843 additions and 3459 deletions
+21
View File
@@ -0,0 +1,21 @@
export default defineNuxtPlugin(() => {
return {
provide: {
local: {
getItem(item: string) {
if (import.meta.client) {
return localStorage.getItem(item)
} else {
return undefined
}
},
setItem(item: string, value: any) {
if (import.meta.client) {
return localStorage.setItem(item, value)
}
},
},
},
}
})
-11
View File
@@ -1,11 +0,0 @@
import { aliases, iconify } from '~/iconify'
export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.hook('vuetify:before-create', ({ vuetifyOptions }) => {
vuetifyOptions.icons = {
defaultSet: 'iconify',
aliases,
sets: { iconify },
}
})
})