You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using import { useToast } from "vue-toastification/composition/nuxt" with composition-api, nuxt throws this error in the console.
After searching, I saw that this error occurs when we mix require and export.
The solution was to go to the index.js file in node_modules/vue-toastification/composition/nuxt/index.js and remove the word export
and sorry for the english 😄
The text was updated successfully, but these errors were encountered:
Versions
Describe the bug
When using
import { useToast } from "vue-toastification/composition/nuxt"
with composition-api, nuxt throws this error in the console.After searching, I saw that this error occurs when we mix require and export.
The solution was to go to the index.js file in
node_modules/vue-toastification/composition/nuxt/index.js
and remove the wordexport
and sorry for the english 😄
The text was updated successfully, but these errors were encountered: