Skip to content

Commit ce7ccdf

Browse files
authored
Merge pull request #30 from peerrabe/feature/laravel6-compat
Feature/laravel6 compat
2 parents 7441082 + 170a3e1 commit ce7ccdf

File tree

4 files changed

+38
-12
lines changed

4 files changed

+38
-12
lines changed

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cesaramirez/laravel-tabler",
3-
"description": "Laravel 5.5/5.6 Front-end preset for Tabler Bootstrap.",
3+
"description": "Laravel 5.*/6.* Front-end preset for Tabler Bootstrap.",
44
"keywords": ["laravel", "preset", "tabler", "bootstrap"],
55
"license": "MIT",
66
"minimum-stability": "stable",
@@ -11,10 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"laravel/framework": "^5.5"
15-
},
16-
"require-dev": {
17-
"phpunit/phpunit": "~4.5"
14+
"laravel/framework": "^5.5||^6.0"
1815
},
1916
"autoload": {
2017
"psr-4": {

src/TablerPreset.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ protected static function updatePackageArray(array $packages)
3939
{
4040
return [
4141
'bootstrap' => '^4.1.0',
42+
'jquery' => '^3.4.1',
4243
'popper.js' => '^1.14.3',
4344
] + Arr::except($packages, ['bootstrap-sass']);
4445
}

src/tabler-stubs/bootstrap.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
window._ = require("lodash");
1+
window._ = require('lodash');
22

33
window.Popper = require("popper.js/dist/umd/popper");
44

@@ -20,7 +20,7 @@ try {
2020
* CSRF token as a header based on the value of the "XSRF" token cookie.
2121
*/
2222

23-
window.axios = require("axios");
23+
window.axios = require('axios');
2424

2525
window.axios.defaults.headers.common["X-Requested-With"] = "XMLHttpRequest";
2626

@@ -46,13 +46,13 @@ if (token) {
4646
* allows your team to easily build robust real-time web applications.
4747
*/
4848

49-
// import Echo from 'laravel-echo'
49+
// import Echo from 'laravel-echo';
5050

5151
// window.Pusher = require('pusher-js');
5252

5353
// window.Echo = new Echo({
5454
// broadcaster: 'pusher',
55-
// key: 'your-pusher-key',
56-
// cluster: 'mt1',
57-
// encrypted: true
58-
// });
55+
// key: process.env.MIX_PUSHER_APP_KEY,
56+
// cluster: process.env.MIX_PUSHER_APP_CLUSTER,
57+
// forceTLS: true
58+
// });
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
@extends('layouts.app')
2+
3+
@section('content')
4+
<div class="container">
5+
<div class="row justify-content-center">
6+
<div class="col-md-8">
7+
<div class="card">
8+
<div class="card-header">{{ __('Verify Your Email Address') }}</div>
9+
10+
<div class="card-body">
11+
@if (session('resent'))
12+
<div class="alert alert-success" role="alert">
13+
{{ __('A fresh verification link has been sent to your email address.') }}
14+
</div>
15+
@endif
16+
17+
{{ __('Before proceeding, please check your email for a verification link.') }}
18+
{{ __('If you did not receive the email') }},
19+
<form class="d-inline" method="POST" action="{{ route('verification.resend') }}">
20+
@csrf
21+
<button type="submit" class="btn btn-link p-0 m-0 align-baseline">{{ __('click here to request another') }}</button>.
22+
</form>
23+
</div>
24+
</div>
25+
</div>
26+
</div>
27+
</div>
28+
@endsection

0 commit comments

Comments
 (0)