🚀Installations
Installing turbotech/turbotech-component from composer. Follow the requirement to complete installation
Requirements
Installation
You can install the package via composer:
composer require turbotech/turbotech-componentConfig/app.php
Inside providers of config/app.php
'providers' => [
/*
* Laravel Framework Service Providers...
*/
...
TURBOTECH\Component\ServicesProvider::class,
]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.
Last updated
Was this helpful?