Skip to content

How do I build the web component? #3

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

Open
vonAnden opened this issue Jul 8, 2021 · 1 comment
Open

How do I build the web component? #3

vonAnden opened this issue Jul 8, 2021 · 1 comment

Comments

@vonAnden
Copy link

vonAnden commented Jul 8, 2021

I use the following command to build with Vue 2 - vue-web-component-wrapper

npm run build -- --target wc --name new-v-router src\App.vue --inline-vue

When I run the same command in Vue 3 with vue3-webcomponent-wrapper I get the following message:
"ERROR Vue 3 support of the web component target is still under development."

How do I build so I can use the web component in other web applications?

@soann-dewasme
Copy link

I tried with --target lib but I don't know how to make it work when built :(
But works perfectly wih npm run serve

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