Category : tailwind-css

hi i am using laravel paginaton The issue is that when i uses links() method in blade file it gives error.when i uses as url "http://127.0.0.1:8000/tournaments?page=3" it works fine but in blade file it gives error as explained below this is my controller method public function index() { return view(‘front.tournaments’, [ ‘seriesdata’ => $this->tournamentList() ]); ..

Read more

I have a project created with Laravel 8, Jetstream, I’ve installed Tailwind CSS and fontawesome-free too. When I use this classes like that: <i class="fa fa-user-circle text-white cursor-pointer text-6xl"></i> text-white and cursor-pointer works perfectly but "text-6xl" don’t if I use style="font-size: 60px" this works, but the class of Tailwind don’t Sourc..

Read more

So I am currently playing around with Laravel and tailwind. I have created a project and working through some initial views. Next todo was to add auth scaffolding to the project. Tried googling around, found https://aregsar.com/blog/2020/create-laravel-project-with-tailwind-ui-and-auth/. I also checked a couple of other results which had the same pointers. So run composer require laravel-frontend-presets/tailwindcss –dev, ..

Read more

So I am currently playing around with Laravel and tailwind. I have created a project and working through some initial views. The next to do was to add auth scaffolding to the project. I tried googling around, found https://aregsar.com/blog/2020/create-laravel-project-with-tailwind-ui-and-auth/. I also checked a couple of other results which had the same pointers. So run composer ..

Read more

I am new to Laravel framework and would require assistance on this error. Function(Laravel load more button using ajax) I have compiled a string in the controller and return it to the view. However the view blade php file doesn’t interpret correctly such as the @csrf or @method(‘delete’) or @if (isset(Auth::user()->id) && Auth::user()->id ==. How ..

Read more

I have a Tailwind alert that uses Livewire and Alpine.js to be displayed when a new project is saved with the event modal-closed <div class="alert alert-success" style="display: none;" x-data="{ show : false }" x-show="show" x-on:close-modal.window="show = true"> <p class="text-bold text-"><b>The project has been created successfully</b></p> <button @click="show = false" class="flex items-center p-1 ml-auto focus:outline-none"> <svg ..

Read more

When I have multiple "colliding" CSS classes, I get a cssConflict where I think I should not get it. It is just a warning, but it bothers me. I tried to disable css.validation from settings but I had no luck. <select id="form-type-input" name="type" class="border-b-2 @error(‘type’) border-red-400 hover:border-red-600 @else border-purple-200 hover:border-purple-400 @enderror"> <option value="human">{{ __(‘form.human’) }}</option> ..

Read more

So, I am using Laravel Fortify in my project and I have a problem. When I use the wrong credentials to log in, Laravel provides the default error message which I have trapped in this if statement below in my login.blade.php: @if(session(‘status’)) <div class="bg-red-500 p-4 rounded-lg mb-6 text-white text-center"> {{session(‘status’)}} </div> @endif But, when I ..

Read more

So, I am using Laravel Fortify in my project and I have a problem. When I use the wrong credentials to log in, Laravel provides the default error message which I have trapped in this if statement below in my login.blade.php: @if(session(‘status’)) <div class="bg-red-500 p-4 rounded-lg mb-6 text-white text-center"> {{session(‘status’)}} </div> @endif But, when I ..

Read more

Laravel Tailwind Issue It should be show Category as usually do but laravel with jetstream doing that for me Anyone know this behavior of tailwind? Only show this issue with laravel with jetstream <select class=”border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mt-1 block w-full” type=”text” class=”form-control” wire:model=”category”> <option selected hidden disabled=”disabled”>Category</option></select> Sourc..

Read more

I want to deploy my Laravel 8 app with Tailwind using the free tier on Heroku. I have finished setting up the tailwind.config.js file. However, I am kinda lost on how I would compile my CSS with NODE_ENV set to production. Also, is this something I should do locally ? Lastly, I have read that ..

Read more