tenancy-docs/source/docs/v3/features/vite-bundler.blade.md
2022-10-04 19:49:40 +02:00

483 B

title extends section
Vite bundler _layouts.documentation content

Vite bundler

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

To enable the feature, uncomment Stancl\Tenancy\Features\ViteBundler::class in the features section of the tenancy config:

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