Open amshehzad opened 2 years ago
You can choose how PhpStorm will interpret these :attributes: as Vue component parameters or Blade component parameters: Preferences | Languages & Frameworks | Laravel Idea | Blade | HTML :attributes owner
Isn't all blade components starts starts with "x-" ? In the current project, I'm using only this 1 vue component so of course I can't change the settings to interpret the :attributes as Vue components parameter, so I think there should be some other work around like for example may be we can "mark" a component as a vue component may be ?
Sorry, but the Vue plugin allows only to filter a whole file. Not specific tags.
Perhaps, we can go the other way around and mark only those tags which are starting with "x-" as Laravel components ?
That's strange actually. Because it shouldn't inject PHP code to these tags... Do you have the blade-x package installed?
You mean Blade? yes that's installed. (couldn't find blade-x)
Could you say what is the file name? And what errors are there?
Yes I'm in the blade file and here is what the warning says: :media attribute
I'm using this package (file-uploader)
I used this component in a previous project and it didn't complained there . Laravel version there is 8.1
Bug description
I'm using a vue component inside the blade see warnings on attribute
Plugin version
4.4.6.213
Operating system
Windows
Steps to reproduce
No response
Relevant log output
No response