Skip to content

Nuxt 4 Error - The requested module [vue-sonner] doesn't provide an export named: 'defineNuxtPlugin'Β #154

@obrassard

Description

@obrassard

Hello, it seems that vue-sonner doesn't work properly in a new Nuxt 4 application.

When adding 'vue-sonner/nuxt' to the modules array in nuxt config

export default defineNuxtConfig({
  ...
  modules: ['vue-sonner/nuxt'],
})

I have the following error :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions