maarsson/laravel-nuxtjs-router
最新稳定版本:1.0.6
Composer 安装命令:
composer require maarsson/laravel-nuxtjs-router
包简介
Laravel route service provider for NuxtJS frontend
README 文档
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.
统计信息
- 总下载量: 54
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-11-17