Answer the question
In order to leave comments, you need to log in
Can't connect component via vue loader without node/webpack?
Unable to connect external components through vue loader.
Error:
Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
Although the component has a name field.
I connect like this:
new Vue ({
el: '#app'
components: {
'NumberInputSpinner': httpVueLoader('js/components/NumberInputSpinner.vue')
},
<script>
export default {
name: 'NumberInputSpinner',
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question