Open maxis7567 opened 2 years ago
Inside a folder named "plugins" on the root of the project, create a file named something like circleProgress.js and paste this code:
import CircleProgress from 'vue3-circle-progress'
export default defineNuxtPlugin(({ vueApp }) => {
vueApp.component('CircleProgress', CircleProgress)
})
And its done. Just use the component normally importing the CSS line on the component that you add the thing =)
How to use it in nuxt3?