feature-ninja/react-starter-kit
最新稳定版本:1.0.3
Composer 安装命令:
composer create-project feature-ninja/react-starter-kit
包简介
Opinionated React starter kit based on the Official Laravel React starter kit
README 文档
README
This starter kit is based on the official Laravel React Starter Kit that has been restructured in an opinionated way. It consists of marketing section and control panel, each with their own asset bundle. It also ships with a fully configured PHPStan setup thanks to Larastan!
Asset bundling
In order to simplify handling multiple asset bundles you can use the php artisan bundle <npm script> command. You can
use the --clean-install flag to ensure the NPM dependencies are reinstalled, and limit which bundles to build by using
the --only=<bundle a,bundle b,bundle c> option.
# Start Vite development server for both sections php artisan bundle dev # Build asset for production php artisan bundle build
Structure
Besides the multiple sections the code is also grouped by feature and placed next to each other. So instead of putting
all the controllers in a Controllers directory and all the form requests in a Requests directory they are now
grouped together. Additionally, all the tests have been placed inlined with their feature.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-03-20