Skip to content

Commit f49c4d8

Browse files
committed
Forgot to actually require livewire/livewire and inject the scripts.
1 parent 1598171 commit f49c4d8

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?php
2+
3+
namespace App\Providers;
4+
5+
use Illuminate\Support\ServiceProvider;
6+
use Statamic\Statamic;
7+
8+
class AppServiceProvider extends ServiceProvider
9+
{
10+
/**
11+
* Register any application services.
12+
*/
13+
public function register(): void
14+
{
15+
\Livewire\Livewire::forceAssetInjection();
16+
}
17+
18+
/**
19+
* Bootstrap any application services.
20+
*/
21+
public function boot(): void
22+
{
23+
// Statamic::vite('app', [
24+
// 'resources/js/cp.js',
25+
// 'resources/css/cp.css',
26+
// ]);
27+
}
28+
}

starter-kit.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export_paths:
22
- app/Listeners/PubSubHubbub.php
3+
- app/Providers/AppServiceProvider.php
34
- app/Providers/EventServiceProvider.php
45
- app/Widgets
56
- app/Modifiers
@@ -23,4 +24,5 @@ export_paths:
2324
- vite.config.js
2425
- .env.example
2526
dependencies:
27+
livewire/livewire: ^3.0
2628
statamic/podcast-categories: ^1.0

0 commit comments

Comments
 (0)