vue2-autocomplete icon indicating copy to clipboard operation
vue2-autocomplete copied to clipboard

Use Browser connection. Failed to mount component: template or render function not defined.

Open vismutx opened this issue 7 years ago • 4 comments

[Vue warn]: Failed to mount component: template or render function not defined.

found in

---> <Autocomplete> <CustomerEditPage> <Root>

            Vue.component('customer-edit-page', {
                data: function () {
                    return {
                    }
                },
                components: {
                    autocomplete: Vue2Autocomplete
                },
                mounted() {
                },
                methods: {
                    getData() {
                        return 'ff';
                    }
                }
            })
        })```

vismutx avatar Oct 11 '17 01:10 vismutx

Same here.

@xVismutx did you found a solution? Thank you!

joelcuevas avatar Oct 17 '17 18:10 joelcuevas

@joelcuevas Yes and no)) I decided not to use this component :)

vismutx avatar Oct 20 '17 15:10 vismutx

A shame... did the same thing. :(

joelcuevas avatar Oct 20 '17 17:10 joelcuevas

I can make it work with this configuration

Vue.component('customer-edit-page', {
                data: function () {
                    return {
                    }
                },
                components: {
                    autocomplete: Vue2Autocomplete.default
                },
                mounted() {
                },
                methods: {
                    getData() {
                        return 'ff';
                    }
                }
            })
        })

endymuhardin avatar Nov 07 '17 04:11 endymuhardin