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

[BUG] Use Vue UI libraries Such as PrimeVue in Content Scripts UI #999

Open
2 of 3 tasks
jfl913 opened this issue Jun 12, 2024 · 0 comments
Open
2 of 3 tasks

[BUG] Use Vue UI libraries Such as PrimeVue in Content Scripts UI #999

jfl913 opened this issue Jun 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jfl913
Copy link

jfl913 commented Jun 12, 2024

What happened?

Hello,I used "https://github.com/PlasmoHQ/examples"-With Vue,
I would like to use a component package (https://primevue.org/) inside the content folder files,or popup.vue.
To add to popup/options/newtab etc we have a defineOptions method:

import PrimeVue from 'primevue/config';
import type { App } from "vue"

defineOptions({
prepare(app: App) {
app.use(PrimeVue);
}
})
Where can I setup primevue correctly. But within the files of the Content folder this does not work, I use the same code but the components do not appear.

Would you have any practical examples of how to use the component library within the contents?

I have been trying for a few hours and it has been very frustrating for me. If possible, thank you for your help

Version

Latest

What OS are you seeing the problem on?

Windows, MacOSX, Linux, Other

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

(OPTIONAL) Contribution

  • I would like to fix this BUG via a PR

Code of Conduct

  • I agree to follow this project's Code of Conduct
  • I checked the current issues for duplicate problems.
@jfl913 jfl913 added the bug Something isn't working label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant