-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
fail to start nuxt if set date.adapter to 'date-fns'
__x00__virtual:vuetify-date-configuration:2
Uncaught SyntaxError: The requested module '/_nuxt/node_modules/.cache/vite/client/deps/date-fns_locale.js?v=2035bc05'
does not provide an export named 'en'
(at __x00__virtual:vuetify-date-configuration:2:10)
__x00__virtual:vuetify-date-configuration
import Adapter from "/_nuxt/node_modules/.cache/vite/client/deps/@date-io_date-fns.js?v=2035bc05"
import { en } from "/_nuxt/node_modules/.cache/vite/client/deps/date-fns_locale.js?v=2035bc05"
export const enabled = true
export const isDev = true
export const i18n = true
export const adapter = 'date-fns'
export function dateConfiguration() {
const options = JSON.parse('{}')
options.adapter = new Adapter({ locale: en })
return options
}
because "[email protected]" export enUS
, not en
any more
use vuetify
as workground.
Metadata
Metadata
Assignees
Labels
No labels