a-blog cms PHP API Reference

Vite extends Facade
in package

Table of Contents

Properties

$container  : Container
$instance  : mixed

Methods

__callStatic()  : mixed
generateHtml()  : string
generateReactRefreshHtml()  : string
getDevServerUrl()  : string
getEnvironment()  : "development"|"production"
getInstance()  : mixed
get service instance
setContainer()  : void
getServiceAlias()  : string
getServiceInstance()  : mixed
isCache()  : bool

Properties

$instance

protected static mixed $instance

Methods

__callStatic()

public static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>

generateHtml()

public static generateHtml(string|array<string|int, string> $entrypoints[, array<string|int, mixed> $options = = '[]' ]) : string

ViteのHTMLを生成

Parameters
$entrypoints : string|array<string|int, string>
$options : array<string|int, mixed> = = '[]'
Return values
string

generateReactRefreshHtml()

public static generateReactRefreshHtml() : string

React RefreshのHTMLを生成

Return values
string

getDevServerUrl()

public static getDevServerUrl() : string

開発サーバーのURLを取得

Return values
string

getEnvironment()

public static getEnvironment() : "development"|"production"

現在の Vite の動作モードの値を出力します(development または production)

Return values
"development"|"production"

getInstance()

get service instance

public static getInstance() : mixed

getServiceAlias()

protected static getServiceAlias() : string
Return values
string

getServiceInstance()

protected static getServiceInstance(string $alias) : mixed
Parameters
$alias : string

isCache()

protected static isCache() : bool
Return values
bool

        
On this page

Search results