Closed fergusmeiklejohn closed 4 years ago
Hi,
<social-sharing>
, not <vue-social-sharing>
-- by reading their docs and code.render()
function so it shouldn't work at all in the first place. (!!!)import SocialSharing from 'vue-social-sharing'
then Vue.use(SocialSharing)
-- in a boot file.
Describe the bug
framework: { all: 'auto' }
isn't registering quasar components when I use them within a third party Vue Component. I'm using Vue Social Sharing: https://www.npmjs.com/package/vue-social-sharing You use it this:The way it works, I have to create buttons inside of the component:
I get an error in the console and no buttons. Switching to
framework: {all: true}
solves the problem. Andframework: {all: 'auto'}, components: ['QBtn']
also solves the problem.Maybe if we can't solve this problem, perhaps we should make it clearer in the Docs that
all: 'auto'
won't work with external Vue components and advise users to keep usingauto
but also add the quasar components they need to use within this special component to thecomponents: []
array?Console error:
vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: <q-btn> - did you register the component correctly? For recursive components, make sure to provide the "name" option.