[Vuejs]-(NUXT) How to add component in sweet alert 2

-1👍

The error you’re receiving is just a linting error being thrown. It’s being thrown because the linter expects you to use the Card component inside the tags.

Try the following:

// inside your Vue component

components: { 
// eslint-disable-next-line vue/no-unused-components
  Card 
}

Leave a comment