Vincent Schmalbach

Web Developer. SEO Expert.
January 28, 2024

Tailwind CSS and Dynamic or Conditional Class Names in Vue

Tailwind CSS is designed to include only the classes used in your project in the final build CSS file. This approach keeps…

Read More…

January 19, 2024

Dual-use Conditional Laravel Controller Methods for Inertia + Vue

Dual-use controllers in Laravel serve a dual purpose: they return/render an Inertia/Vue page when accessed normally and JSON data when requested via…

Read More…

Bing Chat and ChatGPT’s True Impact on the Search Market

There was an article by Search Engine Roundtable stating that Bing has gained less than 1% market share since adding Bing Chat….

Read More…

Modifying HTTP headers in an Inertia.js Laravel application

When you return an Inertia response using Inertia::render(), it doesn’t return a standard Laravel response object directly. Instead, it returns an instance…

Read More…

January 3, 2024

Overriding Tailwind CSS Classes in VueJS Components

Example Scenario: Consider a Card.vue component with default Tailwind CSS styling. <span class="hljs-tag"><<span class="hljs-name">template</span>></span> <span class="hljs-tag"><<span class="hljs-name">div</span> <span class="hljs-attr">class</span>=<span class="hljs-string">"bg-gray-200 p-4 rounded"</span>></span>…

Read More…

GitHub Access Error During Laravel Forge Deployment

If you encounter the following error during a deployment in Laravel Forge: <span class="hljs-attribute">git@github.com</span>: Permission denied (publickey). <span class="hljs-attribute">fatal</span>: Could not read…

Read More…

December 20, 2023

Should I run npm run build/prod on dev or prod?

Should you run npm run build on your development machine and commit everything to Git or should you commit your app without…

Read More…

December 13, 2023

PHP: Exceptions, Errors and Throwable

Before PHP 7, error handling and exception handling were quite distinct: Exceptions (Exception Class): Exceptions were used for handling exceptional conditions in…

Read More…

December 11, 2023

Vue: <template> Is Not Considered a Root Element

In Vue, the <template> tag itself is not considered as a “root element” in a component. It’s part of Vue’s template syntax…

Read More…

November 7, 2023

The Concept of “Schema per Tenant”

In a multi-tenant architecture, a single instance of a software application serves multiple clients or “tenants.” The term “tenant” refers to each…

Read More…