Skip to content

Instantly share code, notes, and snippets.

View AppServiceProvider.php
<?php
namespace App\Providers;
use Illuminate\Support\Facades\Blade;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
View demo.html
<x-layout>
<x-section>
<x-tabs active="First">
<x-tab name="First">
First content goes here.
</x-tab>
<x-tab name="Second">
Second content goes here.
</x-tab>
@VanArmenia
VanArmenia / recaptcha.blade.php
Created Sep 23, 2020 — forked from JeffreyWay/recaptcha.blade.php
Recaptcha Example using Laravel, Blade Components, and Alpine
View recaptcha.blade.php
<div
x-data="recaptcha()"
x-init="init"
@recaptcha.window="execute"
></div>
@push('scripts')
<script src="https://www.google.com/recaptcha/api.js?render=explicit"></script>
<script>