TomasVotruba / bladestan

PHPStan analysis for Blade templates
https://tomasvotruba.com/blog/introducing-bladestan-phpstan-analysis-of-blade-templates/
MIT License
280 stars 13 forks source link

`@vite` directive path checking #67

Open szepeviktor opened 1 year ago

szepeviktor commented 1 year ago

Vite is quiet popular as Laravel has it built in.

@vite('resources/js/app.css')

I'm met with this non-existent path. Could we check the path in vite directive?

AJenbo commented 1 year ago

I think that would be possible, for context here is the dokumentation: https://laravel.com/docs/10.x/vite#loading-your-scripts-and-styles