mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
Document the ViteBundler feature (#209)
* Document the ViteBundler feature * Fix formatting * Remove Vite integration page, make links to the integration page link to the feature page * Add example for enabling the feature * improve writing Co-authored-by: Samuel Štancl <samuel.stancl@gmail.com>
This commit is contained in:
parent
5f9f141580
commit
31a64ab28f
4 changed files with 23 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ section: content
|
|||
- [`TenantConfig`]({{ $page->link('features/tenant-config') }}) for mapping keys from the tenant storage into the application config
|
||||
- [`CrossDomainRedirect`]({{ $page->link('features/cross-domain-redirect') }}) for adding a `domain()` macro on `RedirectResponse` letting you change the intended hostname of the generated route
|
||||
- [`UniversalRoutes`]({{ $page->link('features/universal-routes') }}) for route actions that work in both the central & tenant context
|
||||
- [`ViteBundler`]({{ $page->link('features/vite-bundler') }}) for making Vite generate the correct asset paths
|
||||
|
||||
All of the package's Features are in the `Stancl\Tenancy\Features` namespace.
|
||||
|
||||
You may register features by adding their class names to the `tenancy.features` config.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue