Preset is a command-line tool for kickstarting your application’s development by applying presets on top of it. If you’ve ever tried a boilerplate, then you might have gotten frustrated with all the changes it makes behind the scenes and how you usually are expected to do things the way the creator designed it. Preset is an alternative to this setup, and the beauty of it is each “preset” describes the exact changes needed for the features to be added. By reading the preset’s code, you know the exact changes it brings.
You can get started using it by using the
npx use-preset command. Then you can use existing presets via the command line.
npx use-preset your-github-username/your-preset
Some of the pre-existing preset’s include:
- Laravel TALL – Adds Tailwind CSS, Alpine.js and Livewire to a fresh Laravel application.
- Laravel Inertia – Adds Tailwind CSS, Inertia and Vue to a fresh Laravel application.
- Laravel + Tailwind CSS – Adds Tailwind CSS to Laravel.
- Laravel + Pest – Adds Pest to Laravel.
- Vite + Tailwind CSS – Adds Tailwind CSS to a fresh Vite application, or creates the Vite application.
- Preset – A preset for making presets.
The documentation includes all the details on getting started and building your own presets.Filed in: News
Join 31,000+ others and never miss out on new tips, tutorials, and more.
Tailwind CSS now with built-in support for background gradients
Tailwind v1.7.0 is now released and it includes built-in support for background gradients, new background-clip utilit…
Monitoring Your Laravel App with Scout APM (sponsor)
Scout APM launched support for Laravel apps. They’ve been monitoring thousands of Ruby, Python and Elixir apps…