We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@push
{{ push... }}
Trying to integrate Laravel views and antlers views with a shared layout and I have this in my antlers layout:
{{ stack:nav }}
But in the Blade views I can't do @push('nav') I have to do @anters {{ push:nav }} @endantlers
@push('nav')
@anters {{ push:nav }} @endantlers
Would be great if they worked together.
Make an Antlers layout:
<!DOCTYPE html> <html> <body class="h-full"> {{ stack:nav }} {{ $slot ?? template_content }} </body> </html>
And in a Laravel route use @push('nav') and in an antlers view use {{ push:nav }}
{{ push:nav }}
No response
Environment Application Name: Glazed Laravel Version: 10.48.7 PHP Version: 8.3.6 Composer Version: 2.7.1 Environment: local Debug Mode: ENABLED URL: glazed.test Maintenance Mode: OFF Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED Drivers Broadcasting: pusher Cache: statamic Database: mysql Logs: stack / daily, front Mail: log Queue: sync Session: file Pulse Enabled: ENABLED Version: v1.0.0-beta16 Livewire Livewire: v3.4.10 Statamic Addons: 2 Antlers: runtime Sites: 1 Stache Watcher: Enabled Static Caching: Disabled Version: 4.56.1 PRO Statamic Addons statamic/seo-pro: 5.4.4 stillat/antlers-components: 2.1.0
Fresh statamic/statamic site via CLI
None
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug description
Trying to integrate Laravel views and antlers views with a shared layout and I have this in my antlers layout:
But in the Blade views I can't do
@push('nav')
I have to do@anters {{ push:nav }} @endantlers
Would be great if they worked together.
How to reproduce
Make an Antlers layout:
And in a Laravel route use
@push('nav')
and in an antlers view use{{ push:nav }}
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response
The text was updated successfully, but these errors were encountered: