I'm following along this tutorial and for some reason I am getting a "maximum call stack error"
<template>
<SearchInput></SearchInput>
</template>
<script>
import SearchInput from './components/SearchInput.vue'
export default {
name: 'App',
components:{
SearchInput
}
};
</script>
SearchInput.vue component file:
<template>
<SearchInput>
<input type="text">
</SearchInput>
</template>
<script>
export default {
name: "SearchInput",
}
</script>
I tried giving the SearchInput its own name "SearchInputView": SearchInput but it didn't work. I'm using es6 syntax and this is a Vue 2 project. What am I doing wrong?