usrnotfound/rilt-preset

This package is abandoned and no longer maintained. No replacement package was suggested.

dev-master 2021-09-16 01:19 UTC

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, and babelrc
  • webpack.js will get updated with all the bells and whistles you need for you code splitting
  • Updates app.js and app.scss

Supports

  • Assets Built Pipeline
  • Code Splitting
  • Purge CSS

License

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