You've already forked Atomcms-edit
Initial commit
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services;
|
||||
|
||||
use Illuminate\Foundation\Vite;
|
||||
|
||||
class ViteService extends Vite
|
||||
{
|
||||
/**
|
||||
* Generate a script tag for the given URL.
|
||||
*/
|
||||
#[\Override]
|
||||
protected function makeScriptTag($url): string
|
||||
{
|
||||
return sprintf('<script type="module" src="%s" data-turbolinks-eval="false"></script>', $url);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user