usrnotfound / rilt-preset
This package is abandoned and no longer maintained.
No replacement package was suggested.
dev-master
2021-09-16 01:19 UTC
Requires
- php: ^7.4|^8.0
- ext-json: *
- illuminate/console: ^7.0|^8.0
- illuminate/filesystem: ^7.0|^8.0
- illuminate/support: ^7.0|^8.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^8.0|^9.0
This package is auto-updated.
Last update: 2024-01-16 05:58:29 UTC
README
This preset adds and configures tailwindcss
, react
, inertiajs
for Laravel application.
To install this package:
composer require usrnotfound/rilt-preset
To publish the configuration run the following command:
php artisan usrnotfound:rilt-preset
#What happens when I run the command?
- Updates
pacakge.json
with
@babel/plugin-syntax-dynamic-import,
@babel/preset-react,
react,
react-dom,
cross-env,
tailwindcss,
- Publishes
tailwind.config.js
, andbabelrc
webpack.js
will get updated with all the bells and whistles you need for you code splitting- Updates
app.js
andapp.scss
Supports
- Assets Built Pipeline
- Code Splitting
- Purge CSS
License
The package is open-sourced software licensed under the MIT license.