-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
The extension should look in service providers' boot()
methods for Blade::anonymousComponentPath()
calls and highlight component tags accordingly
// app/Providers/AppServiceProvider.php
public function boot()
{
Blade::anonymousComponentPath(resource_path('views/layouts'), 'layouts');
}
{{-- resources/views/layouts/app.blade.php --}}
<html>
<head></head>
<body>{{ $slot }}</body>
</html>
The following should now be clickable:
{{-- resources/views/home.blade.php --}}
<x-layouts::app>
{{-- content --}}
</x-layouts::app>
Metadata
Metadata
Assignees
Labels
No labels