![]() resources/css/app.css file that Laravel generates for you by default and use the directive to include Tailwind's base, components, and utilities styles, replacing the original file utilities postCss("resources/css/app.css", "public/css", [ Mix.js("resources/js/app.js", "public/js") In this step, you can configure tailwind with laravel mix and change in your, add tailwindcss as a PostCSS plugin: Step 3 : Configure Tailwind with Laravel Mix This will create a minimal file at the root of your project or open this file and paste bellow code:ĭarkMode: false, // or 'media' or 'class' You can generate your file using bellow command: Install Tailwind and its peer-dependencies using npm: In this step, you need install tailwind css and tailwind css requires Node.js 12.13.0 or higher using bellow command so let's install the tailwind css. ![]() Use this command then download laravel project setup :Ĭomposer create-project -prefer-dist laravel/laravel blog First, you need to download the laravel fresh setup.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |