Open
Description
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?
Metadata
Metadata
Assignees
Type
Projects
Status
Beyond