Skip to content

Instantly share code, notes, and snippets.

@chatii
Created May 12, 2023 05:45
Show Gist options
  • Save chatii/d305319b8c54ac4bb7e058ff9b61a291 to your computer and use it in GitHub Desktop.
Save chatii/d305319b8c54ac4bb7e058ff9b61a291 to your computer and use it in GitHub Desktop.
work
<div>
@include($file->bladePath);
</div>
<!-- ... -->
not work
<div>
<?php
foreach ($testFiles as $testFile) {
if ($testFile->visible())
@include($testFile->bladePath);
}
}
?>
</div>
@chatii
Copy link
Author

chatii commented May 12, 2023

解決済みだけどダダはまりするところだったのでメモ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment