When you are using TailwindCSS in some cases you might want to add a prefix to your tailwind utility classes so that it doesn’t mess up with your other library. I often do this when I …
Author: tgugnani
In this article let’s go over how we can install TailwindCSS on an HTML project. The simplest and fastest way to get up and running with Tailwind CSS from scratch is with the Tailwind CLI tool. …
Edit the Nginx configuration file for the site (not the server), replace the location ~ \.php$ block with following location ~ \.php$ { try_files $uri /index.php?$args; fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass unix:/var/run/php/php8.1-fpm.sock; fastcgi_index index.php; include fastcgi_params; } …
Hi, I’m Valerio software engineer, founder and CTO at Inspector. As a product owner, I know how hard it could be to fix a software issue. Especially when it negatively impacts the users’ experience. Or worse …
TailwindCSS is a popular utility first CSS framework. In this article, we will go over how to install TailwindCSS on Laravel which is a PHP Framework. 1. Create a Laravel Project and Dependencies Installed Before heading …
Install the dependencies yum install fontconfig libXrender libXext xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi freetype libpng zlib libjpeg-turbo Download the RPM File wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos7.x86_64.rpm Install the RPM rpm -Uvh wkhtmltox-0.12.6-1.centos7.x86_64.rpm …
You can use the following HTML template that contains the link to the JS and CSS CDN files to the Bootstrap 5 library. This includes the CDN link to CSS and JS files from jsDelivr …
This article takes your through step by step process of how to deploy your Laravel Application which connects to the SQL Server Database on Digital Ocean and we will be using Laravel Forge for this. Setup …
If you are looking to refresh or reload the new values from the database for a Model, you can do the following $model->refresh(); For example $user = User::find('242'); $user->active = 1; $user->save(); .. $user->refresh(); …
In Laravel if you are looking to run a single seeder class you can do so by running the following command php artisan db:seed --class=PostTableSeeder In the above command, class PostTableSeeder must exist inside Database/Seeders directory. …