mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 02:04:03 +00:00
Add example for enabling the feature
This commit is contained in:
parent
1ebe794a8f
commit
bfd193f88e
1 changed files with 8 additions and 1 deletions
|
|
@ -6,4 +6,11 @@ section: content
|
|||
|
||||
# Vite bundler {#vite-bundler}
|
||||
|
||||
Enabling the ViteBundler feature makes Vite generate the correct asset paths using the `global_asset()` helper.
|
||||
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,
|
||||
],
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue