add module provider dependencies
This commit is contained in:
5
resources/modules/stubs/views/admin.stub
Normal file
5
resources/modules/stubs/views/admin.stub
Normal file
@@ -0,0 +1,5 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('admin.app')
|
||||
5
resources/modules/stubs/views/frontend.stub
Normal file
5
resources/modules/stubs/views/frontend.stub
Normal file
@@ -0,0 +1,5 @@
|
||||
{{--
|
||||
You probably don't want to edit anything here. Just make
|
||||
sure to extend this in your views. It will pass the content section through
|
||||
--}}
|
||||
@extends('layouts.' . config('phpvms.skin') . '.app')
|
||||
18
resources/modules/stubs/views/index-admin.stub
Normal file
18
resources/modules/stubs/views/index-admin.stub
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('$LOWER_NAME$::layouts.admin')
|
||||
|
||||
@section('title', '$STUDLY_NAME$')
|
||||
@section('actions')
|
||||
<li>
|
||||
<a href="{!! url('/$LOWER_NAME$/admin/create') !!}">
|
||||
<i class="ti-plus"></i>
|
||||
Add New</a>
|
||||
</li>
|
||||
@endsection
|
||||
@section('content')
|
||||
<div class="card border-blue-bottom">
|
||||
<div class="header"><h4 class="title">Admin Scaffold!</h4></div>
|
||||
<div class="content">
|
||||
<p>This view is loaded from module: {!! config('$LOWER_NAME$.name') !!}</p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
9
resources/modules/stubs/views/index.stub
Normal file
9
resources/modules/stubs/views/index.stub
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('$LOWER_NAME$::layouts.frontend')
|
||||
|
||||
@section('content')
|
||||
<h1>Hello World</h1>
|
||||
|
||||
<p>
|
||||
This view is loaded from module: {!! config('$LOWER_NAME$.name') !!}
|
||||
</p>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user