<!-- You can pass the route as props to the component inside the blade file. Inside the view: --> <component home-route="{{ route('home') }}"></component> */Inside the vue component:/* <script> export default { props: ['homeRoute'], } </script> <!-- Then you can access the route inside the component like so: --> this.homeRoute