summaryrefslogtreecommitdiff
path: root/workbench/app/Providers/WorkbenchServiceProvider.php
blob: ceaeef0e35fb7227f6b686a720713d87b566894e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php

namespace Workbench\App\Providers;

use Lightscale\LaralightAssets\Facades\Assets;

use Illuminate\Support\ServiceProvider;

class WorkbenchServiceProvider extends ServiceProvider
{
    /**
     * Register services.
     */
    public function register(): void
    {
        //
    }

    /**
     * Bootstrap services.
     */
    public function boot(): void
    {
        Assets::registerManifest(
            'main', public_path('dist/manifest.json'), '/dist'
        );

        Assets::queueScript('main::main.js');
        Assets::queueStyle('main::main.css');
    }
}