Skip to content

Commit

Permalink
Add blade app shell
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeri17 committed Apr 25, 2023
1 parent 1e02563 commit 4d1132c
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ModuleTemplate/AllModules/_module_name/.env
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,6 @@ MAIL_PORT=25
MAIL_SMTP=127.0.0.1

REDIS_HOST = 127.0.0.1
REDIS_PORT = 6379
REDIS_PORT = 6379

RR_CONFIG = dev-rr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php
namespace AllModules\_module_name\Markup\Components;

use Illuminate\View\Component;

class AppLayouts extends Component {

public function __construct ($pageTitle, $scripts) {

//
}

public function render () {

return view("layouts.app");
}
}
?>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ $pageTitle ?? "Suphle"}}</title>

@yield("scripts")
</head>
<body>
{{ $slot }}
</body>
</html>

0 comments on commit 4d1132c

Please sign in to comment.