Skip to content

Commit

Permalink
perf(vuetify): remove wildcard import (#1240)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 authored Dec 7, 2023
2 parents 953f278 + d4cc1df commit 69b4c67
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
Binary file modified .yarn/install-state.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify'
import vuetify, { transformAssetUrls } from 'vite-plugin-vuetify';
import { splitVendorChunkPlugin } from 'vite';
import svgLoader from 'vite-svg-loader';
import { defineNuxtConfig } from 'nuxt/config';
Expand Down
4 changes: 0 additions & 4 deletions plugins/vuetify.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// plugins/vuetify.js
import { createVuetify } from 'vuetify';
import * as components from 'vuetify/components';
import * as directives from 'vuetify/directives';
import { aliases, mdi } from 'vuetify/iconsets/mdi-svg';

export default defineNuxtPlugin((nuxtApp) => {
const vuetify = createVuetify({
ssr: true,
components,
directives,
theme: {
themes: {
light: {
Expand Down

1 comment on commit 69b4c67

@vercel
Copy link

@vercel vercel bot commented on 69b4c67 Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.