vue3-circle-progress icon indicating copy to clipboard operation
vue3-circle-progress copied to clipboard

Nuxt3 implementation

Open maxis7567 opened this issue 3 years ago • 1 comments

How to use it in nuxt3?

maxis7567 avatar Jul 05 '22 08:07 maxis7567

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

TorresDavid avatar Dec 06 '22 02:12 TorresDavid