vuetifyjs / nuxt-module

Zero-config Nuxt Module for Vuetify
https://nuxt.vuetifyjs.com/
MIT License
225 stars 22 forks source link

[Bug] module not compatible with Vuetify 3.4 yet #147

Closed mtdvlpr closed 1 year ago

mtdvlpr commented 1 year ago

I'm getting the following error without specifying any labComponents in the config:

Failed to resolve import "vuetify/labs/VDatePicker" from "..\..\..\..\..\..\@nuxt-vuetify-configuration\vuetify-configuration". Does the file exist?

Edit: it's because I specify date options which executes the following code from you:

if (dateOptions && addDatePicker) {
    config.imports.push("import {VDatePicker} from 'vuetify/labs/VDatePicker'");
    config.labComponents.add("VDatePicker");
  }

Edit: Also the useDate composable is not imported and should be imported by default starting with Vuetify 3.4

Originally posted by @mtdvlpr in https://github.com/userquin/vuetify-nuxt-module/issues/145#issuecomment-1805631577