Skip to content

How use with Nuxt 3? #232

@MaxCpp

Description

@MaxCpp

I try add vue-toasted in Nuxt 3:

import { defineNuxtPlugin } from '#app';
import Toasted from 'vue-toasted';

export default defineNuxtPlugin((nuxtApp) => {
    nuxtApp.vueApp.use(Toasted);
})

But I have error in console:
image

How it's right to do?
I know about @nuxtjs/toast but it doesn't work with Nuxt 3.

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