Blade @stack, @push, and @prepend

Before I beat my head against this any longer, are Laravel’s Components and Slots functional in Sage9? I haven’t been able to make a @stack work (there’s no error, but nothing happens) and I don’t want to keep fighting it if it’s just not supported in Sage.


Never mind. Figured it out.

The @stack was being rendered before I @pushed anything to it. I re-arranged my template files and includes and solved the problem.

1 Like