Vite
class System\Classes\Asset\Vite
extends Illuminate\Foundation\Vite
Extends
Class | Description |
---|---|
Illuminate\Foundation\Vite
|
Methods
public
__invoke (string | array $entrypoints, string | null $package = null
)
: HtmlString
Generate Vite tags for an entrypoint(s).
Parameters
Property | Type | Description |
---|---|---|
$entrypoints | string | array |
string | array
The list of entry points for Vite |
$package | string | null |
string | null
The package name of the plugin or theme |
Returns
HtmlString
public static tags (array | string $entrypoints, string $package) : Illuminate\Support\HtmlString
Helper method to generate Vite tags for an entrypoint(s).
Parameters
Property | Type | Description |
---|---|---|
$entrypoints | array | string |
array | string
The list of entry points for Vite |
$package | string |
string
The package name of the plugin or theme |
Returns
Illuminate\Support\HtmlString
Copyright © 2024 Winter CMS