#9 - set up frontend (#10)

* #9 - set up inertia and tailwind

* #9 - fix

* #9 - headless ui, heroicons and some webpack stuff

* #9 - fix

* #9 - fix

* #9 - fix

* #9 - eslint

* #9 - github pr review

* #9 - run linter manually

* Update resources/js/Pages/Dashboard.vue

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* #9 - fix

* Update .eslintrc.js

Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Ewelina Lasowy <56546832+EwelinaLasowy@users.noreply.github.com>
This commit is contained in:
Adrian Hopek
2022-01-11 14:04:01 +01:00
committed by GitHub
parent 8f5f2b88f0
commit 262d37d862
23 changed files with 3386 additions and 2348 deletions

View File

@@ -1,17 +0,0 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Tests\TestCase;
class ExampleTest extends TestCase
{
public function testExample(): void
{
$response = $this->get("/");
$response->assertStatus(200);
}
}

View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
namespace Tests\Feature;
use Inertia\Testing\AssertableInertia as Assert;
use Tests\TestCase;
class InertiaTest extends TestCase
{
public function testInertia(): void
{
$response = $this->get("/");
$response->assertOk();
$response->assertInertia(fn(Assert $page) => $page->component("Dashboard"));
}
}