Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuxt3 implementation #11

Open
maxis7567 opened this issue Jul 5, 2022 · 1 comment
Open

Nuxt3 implementation #11

maxis7567 opened this issue Jul 5, 2022 · 1 comment

Comments

@maxis7567
Copy link

How to use it in nuxt3?

@TorresDavid
Copy link

TorresDavid commented Dec 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants