tenancy-docs/source/docs/v3/features/vite-bundler.blade.md
2022-09-30 15:32:34 +02:00

16 lines
424 B
Markdown

---
title: Vite bundler
extends: _layouts.documentation
section: content
---
# Vite bundler {#vite-bundler}
Enabling the ViteBundler feature makes Vite generate the correct asset paths using the `global_asset()` helper. To enable the feature, uncomment `Stancl\Tenancy\Features\ViteBundler::class` in tenancy config's `features`.
```php
'features' => [
// [...]
Stancl\Tenancy\Features\ViteBundler::class,
],
```