Skip to content

Vite bundler

Enabling the ViteBundler feature makes Vite generate asset paths by using the global_asset() helper instead of the default asset() helper.

This is should be enabled when using asset_helper_tenancy.

Enabling the feature

To enable the feature, uncomment the ViteBundler line in the features section of the tenancy config:

config/tenancy.php
'features' => [
// Stancl\Tenancy\Features\ViteBundler::class,
],