Skip to content

Commit 0a309f6

Browse files
Update ViewsData.php
1 parent 5d8e2ca commit 0a309f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SpyClasses/ViewsData.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ public function readTokenizedVars()
5151

5252
public static function getBladeTokens($path)
5353
{
54+
app('microscope.blade.compiler')->withoutComponentTags();
55+
5456
return token_get_all(app('microscope.blade.compiler')->compileString(file_get_contents($path)));
5557
}
5658
}

0 commit comments

Comments
 (0)