Import of class outside @volt not recognized inside @volt
gdsrmygdsrjr opened this issue · comments
Gabriel Rausch commented
Volt Version
1.3.3
Laravel Version
10.28
PHP Version
8.2.10
Database Driver & Version
MySQL 8.0.30 for Windows 11
Description
If it's done this way it doesn't work:
imports declared before @Volt are not recognized within @Volt
Displays the following error:
But if it's done this way, it works perfectly:
Steps To Reproduce
Import a class/enum outside of @Volt and try to use the same inside @Volt @endvolt