maarsson / laravel-nuxtjs-router
Laravel route service provider for NuxtJS frontend
Installs: 53
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
pkg:composer/maarsson/laravel-nuxtjs-router
Requires
- php: ^8.1
- laravel/framework: >=9.0
This package is auto-updated.
Last update: 2025-10-27 12:36:13 UTC
README
This package adds a fallback routing to your Laravel-NuxtJS project.
Usage
- Add package to your Laravel project:
composer require maarsson/laravel-nuxtjs-router - Set up frontend generate folder path in your NuxtJS config in order to build the generated files under Laravels
publicfolder. In yournuxt.config.js:
You may change the relative path in the example above, according to your NuxtJS placement in your project.generate: { dir: '../public/_nuxt' }, - Generate NuxtJs frontend.
- Open your project in the browser.
License
This package is open-sourced software licensed under the MIT license.