0👍
✅
The problem is coming from the blade file : I was directly calling the parent component <onboarding-form>
instead of the <router-view>
.
So the component was loaded once, then the route system tried to load it again.
mybladefile.php
<div class="container" id="steps">
<onboarding-form></onboarding-form>
</div>
become
<div class="container" id="steps">
<router-view></router-view>
</div>
Source:stackexchange.com