From a607b35f1682fc5d38713749f4737be49c764f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 4 Nov 2019 22:21:43 +0100 Subject: [PATCH] document mix() --- docs/source/v2/central-app.blade.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/source/v2/central-app.blade.md b/docs/source/v2/central-app.blade.md index 565a5e8..6555505 100644 --- a/docs/source/v2/central-app.blade.md +++ b/docs/source/v2/central-app.blade.md @@ -41,7 +41,11 @@ Create a disk and *don't* add it to `tenancy.filesystem.disks`. ### Central assets {#central-assets} -Use the `global_asset()` helper. +Mix is intended for template-related assets and as such, it's not scoped to the current tenant. + +Alternatively, the package provides a `global_asset()` helper which is a non-tenant-aware replacement for `asset()`, in case you don't want to use `mix()`. + +It's recommended to use `mix()` though, due to its features such as version tagging. ### Central queues {#central-queues}