#9 - set up inertia and tailwind

This commit is contained in:
Adrian Hopek
2022-01-10 15:09:00 +01:00
parent 8f5f2b88f0
commit f0b6e3e97a
18 changed files with 1587 additions and 2354 deletions

View File

@@ -1,17 +0,0 @@
<?php
declare(strict_types=1);
return [
"stateful" => explode(",", env("SANCTUM_STATEFUL_DOMAINS", sprintf(
"%s%s",
"localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1",
env("APP_URL") ? "," . parse_url(env("APP_URL"), PHP_URL_HOST) : "",
))),
"guard" => ["web"],
"expiration" => null,
"middleware" => [
"verify_csrf_token" => Toby\Http\Middleware\VerifyCsrfToken::class,
"encrypt_cookies" => Toby\Http\Middleware\EncryptCookies::class,
],
];