{"id":16599870,"url":"https://github.com/vmitchell85/vue-route","last_synced_at":"2026-05-01T20:31:41.592Z","repository":{"id":62545066,"uuid":"169021096","full_name":"vmitchell85/vue-route","owner":"vmitchell85","description":"A Laravel package that adds an easy way to create a route that loads a Vue.js component","archived":false,"fork":false,"pushed_at":"2019-02-04T03:29:36.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-08T10:58:50.426Z","etag":null,"topics":["laravel","package","vuejs"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmitchell85.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-04T03:04:48.000Z","updated_at":"2019-02-04T03:29:38.000Z","dependencies_parsed_at":"2022-11-02T22:00:37.276Z","dependency_job_id":null,"html_url":"https://github.com/vmitchell85/vue-route","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vmitchell85/vue-route","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmitchell85%2Fvue-route","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmitchell85%2Fvue-route/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmitchell85%2Fvue-route/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmitchell85%2Fvue-route/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmitchell85","download_url":"https://codeload.github.com/vmitchell85/vue-route/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmitchell85%2Fvue-route/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","package","vuejs"],"created_at":"2024-10-12T00:12:50.460Z","updated_at":"2026-05-01T20:31:41.574Z","avatar_url":"https://github.com/vmitchell85.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Vue.js Route\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/vmitchell85/vue-route.svg?style=flat-square)](https://packagist.org/packages/vmitchell85/vue-route)\n[![Total Downloads](https://img.shields.io/packagist/dt/vmitchell85/vue-route.svg?style=flat-square)](https://packagist.org/packages/vmitchell85/vue-route)\n\nLaravel Vue.js Route is a macro added onto the Route class to make loading a Vue.js component as the whole view simple.\n\nInspired by `Route::view()`, which returns a blade view bypassing a controller, The `Route::vue()` function will, by default, load a specified Vue.js component into the default layout's `content` section.\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require vmitchell85/vue-route\n```\n\n## Usage\n\nAfter installing the package via composer you can just call the new `vue` macro from the `Route` facade.\n\n``` php\nRoute::vue('/my-route-path', 'users-index');\n```\n\nThe macro automatically assumes you want to use the `layouts.app` layout file and injects the Vue.js component into the `content` section.\n\nIf you would like to specify the layout file and/or section you want to use additional parameters can be added:\n\n``` php\nRoute::vue('/my-route-path', 'users-index', 'layouts.fancy', 'body');\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.\n\n## Credits\n\n- [Vincent Mitchell](https://github.com/vmitchell85)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Laravel Package Boilerplate\n\nThis package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmitchell85%2Fvue-route","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmitchell85%2Fvue-route","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmitchell85%2Fvue-route/lists"}