delowardev/vue3-circle-progress

Nuxt3 implementation

Opened this issue · 1 comments

How to use it in nuxt3?

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 =)