LaravelPackages.net
Acme Inc.
Toggle sidebar
maarsson/laravel-nuxtjs-router

Laravel route service provider for NuxtJS frontend

194
0
1.0.6
About maarsson/laravel-nuxtjs-router

maarsson/laravel-nuxtjs-router is a Laravel package for laravel route service provider for nuxtjs frontend. It currently has 0 GitHub stars and 194 downloads on Packagist (latest version 1.0.6). Install it with composer require maarsson/laravel-nuxtjs-router. Discover more Laravel packages by maarsson or browse all Laravel packages to compare alternatives.

Last updated

NuxtJS router for Laravel

This package adds a fallback routing to your Laravel-NuxtJS project.

Usage

  1. Add package to your Laravel project: composer require maarsson/laravel-nuxtjs-router
  2. Set up frontend generate folder path in your NuxtJS config in order to build the generated files under Laravels public folder. In your nuxt.config.js:
    generate: {
        dir: '../public/_nuxt'
    },
    
    You may change the relative path in the example above, according to your NuxtJS placement in your project.
  3. Generate NuxtJs frontend.
  4. Open your project in the browser.

License

This package is open-sourced software licensed under the MIT license.

Comments