Last updated
Last updated
Requirements
>= 7.4.0
Recommended version: for tailwindcss package
Installation
You can install the package via composer:
Config/app.php
Inside providers
of config/app.php
composer.json
Inside providers
of composer.json
If the project haven't tailwindcss package
Then you need to install `tailwindcss` package
Configure your template paths
Add the paths to all of your template files in your tailwind.config.js
file.
Add the Tailwind directives to your CSS
Add the @tailwind
directives for each of Tailwind’s layers to your ./resources/css/app.css
file.
Add Tailwind to your Laravel Mix configuration
In your webpack.mix.js
file, add tailwindcss
as a PostCSS plugin.
Start your build process
Run your build process with npm run watch
.
Installing turbotech/turbotech-component from composer. Follow the requirement to complete installation