mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-14 03:04:04 +00:00
16 lines
424 B
Markdown
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,
|
|
],
|
|
```
|