0

I created a Vue component using laravel 5.8, but the console gives me this error.

<front-check-user> - did you register the component correctly? For recursive components, make sure to provide the "name" option

Before creating this component I already created 20 and never had this error.

File app.js

Vue.component('front-check-user', require('./components/frontend/CheckUserEmail').default);

CheckUserEmail component

<template>
<div>
    <h3>Test</h3>
</div>
</template>

 <script>
  export default {
    name: "CheckUserEmail" 
  }
</script>

<style scoped>

</style>
2
  • Look at this stackoverflow.com/questions/40789789/… Commented Nov 12, 2020 at 14:20
  • Hi, I inserted already 20 components...the problem is that now every component I create is not recognized... Commented Nov 12, 2020 at 14:31

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.