Vite

 class System\Classes\Asset\Vite
extends Illuminate\Foundation\Vite

Extends

Methods

public __invoke (string | array $entrypoints, string | null $package = null) : HtmlString

Generate Vite tags for an entrypoint(s).

Parameters
Property Description
$entrypoints
string | array

The list of entry points for Vite

$package
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 Description
$entrypoints
array | string

The list of entry points for Vite

$package
string

The package name of the plugin or theme

Returns
Illuminate\Support\HtmlString
Copyright © 2024 Winter CMS