Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

Error with Vuetify Treeshaking #7

Open
irsyaadbp opened this issue Jun 6, 2023 · 2 comments
Open

Error with Vuetify Treeshaking #7

irsyaadbp opened this issue Jun 6, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@irsyaadbp
Copy link

image

nuxt.config.ts

export default defineNuxtConfig({
  css: ["vuetify/styles", "@mdi/font/css/materialdesignicons.css"],
  build: {
    transpile: ["vuetify"],
  },
  modules: [
    async (_options, nuxt) => {
      nuxt.hooks.hook("vite:extendConfig", (config) => {
        config.plugins?.push(vuetify());
      });
    },
  ],
});

if i takeout this code its working, but i want this code

modules: [
    async (_options, nuxt) => {
      nuxt.hooks.hook("vite:extendConfig", (config) => {
        config.plugins?.push(vuetify());
      });
    },
  ],
@hirotaka hirotaka added the enhancement New feature or request label Jun 8, 2023
@hirotaka
Copy link
Owner

hirotaka commented Jun 8, 2023

I understand that there are issues with numerous Nuxt modules.
I'm currently exploring ways to manage Nuxt plugins efficiently.
This process might take some time, but I will update you on any advancements!

@g1ronn1mo
Copy link

I tried to get an other repo running, because this addon does not work with vuetify. I could not get it to work, but maybe you have more luck.

https://github.com/storybook-vue/nuxt/issues

Is it in general possible to get the nuxt modules working?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants