Testing Blade components in Laravel
Laravel provides a range of methods to test parts of the framework, one of which is called blade() which allows you to test blade components work as expected.
Let's take a simple blade component:
@props([
'type' => 'submit'
])
<div>
<button ...
dcblog.dev1 min read