Skip to content

Commit

Permalink
Implement static ui
Browse files Browse the repository at this point in the history
  • Loading branch information
danon committed Oct 23, 2024
1 parent 51dd1e8 commit beabf1d
Show file tree
Hide file tree
Showing 16 changed files with 446 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ private function mapWebRoutes(): void
'namespace' => $this->namespace,
'middleware' => 'web',
], function () {
(new \V3\Controller())->setupEndpoints();

require base_path('routes/auth.php');
require base_path('routes/misc.php');
require base_path('routes/forum.php');
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"Boduch\\Grid\\": "grid/",
"Coyote\\": "app/",
"Neon\\": "neon/src/",
"V3\\": "v3/src/",
"Database\\Seeders\\": "database/seeders/"
},
"files": [
Expand All @@ -84,7 +85,8 @@
"Tests\\Grid\\": "tests/Grid/",
"Tests\\Legacy\\": "tests/Legacy/",
"Tests\\Unit\\": "tests/Unit/",
"Neon\\Test\\": "neon/test/"
"Neon\\Test\\": "neon/test/",
"V3\\Test\\": "v3/test/"
},
"files": [
"neon/test/BaseFixture/Caught/caught.php"
Expand Down
2 changes: 2 additions & 0 deletions config/twigbridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
'Coyote\Services\TwigBridge\Extensions\Media',
'Coyote\Services\TwigBridge\Extensions\Icon',
'Coyote\Services\TwigBridge\Extensions\Vue',

'V3\Web\Twig\Extension',
],

/*
Expand Down
3 changes: 2 additions & 1 deletion config/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
*/

'paths' => [
realpath(base_path('resources/views'))
realpath(base_path('resources/views')),
realpath(base_path('v3/src/Web/view')),
],
/*
|--------------------------------------------------------------------------
Expand Down
14 changes: 14 additions & 0 deletions public/img/v3/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit beabf1d

Please sign in to comment.