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
For example: resources/views/site/layout/block.blade.php
<!doctype html> <html lang="en"> <head> <title>#madewithtwill website</title> <link rel="stylesheet" href="{{mix('css/app.css')}}"> @stack('styles') </head> <body> <div> @yield('content') </div> <script src="{{mix('js/app.js')}}"></script> @stack('scripts') </body> </html>
resources/views/site/blocks/some_block.blade.php @Push('styles') <style>Some styles</styles> @endpush @Push('scripts') <script>Some scripts</script> @endpush
Seems some_block is not extending block, stack and push is not working, is that some other ways to do this?
The text was updated successfully, but these errors were encountered:
Hey @thingasd,
This is currently not possible. But I will for sure look into it for 3.x if I find some spare time.
I will leave the issue open so it can be tracked.
Sorry, something went wrong.
No branches or pull requests
For example:
resources/views/site/layout/block.blade.php
<!doctype html>
<html lang="en">
<head>
<title>#madewithtwill website</title>
<link rel="stylesheet" href="{{mix('css/app.css')}}">
@stack('styles')
</head>
<body>
<div>
@yield('content')
</div>
<script src="{{mix('js/app.js')}}"></script>
@stack('scripts')
</body>
</html>
resources/views/site/blocks/some_block.blade.php
@Push('styles')
<style>Some styles</styles>
@endpush
@Push('scripts')
<script>Some scripts</script>
@endpush
Seems some_block is not extending block, stack and push is not working, is that some other ways to do this?
The text was updated successfully, but these errors were encountered: