We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
So we have a published component before, and we do this to publish
vue-cli-service build --target lib --dest dist/lib --name VueComponentName 'src/components/VueComponentName.vue'
Our main.js file is like this:
main.js
import Vue from 'vue'; import App from './App.vue'; Vue.config.productionTip = false; new Vue({ render: (h) => h(App), }).$mount('#app');
Just a default main.js file.
Where's the best place to interop the component so when users install it in their Vue 3 app, it will just work without doing interop themselves?
What I mean is they don't have to install vue-2-3 and do themselves this:
vue-2-3
import toVue3 from 'vue-2-3/to-vue-3'; import VueComponentName from './VueComponentName'; export default { components: { VueComponentName: toVue3(VueComponentName) } }
Thank you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
So we have a published component before, and we do this to publish
vue-cli-service build --target lib --dest dist/lib --name VueComponentName 'src/components/VueComponentName.vue'
Our
main.js
file is like this:Just a default
main.js
file.Where's the best place to interop the component so when users install it in their Vue 3 app, it will just work without doing interop themselves?
What I mean is they don't have to install
vue-2-3
and do themselves this:Thank you.
The text was updated successfully, but these errors were encountered: