<!-- 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
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter