[object Object]

guide

concepts

preloading

Preloading happens in the module script (<script context="module">) and runs before the component is loaded.

It can be used for anything that needs to happen before the component is loaded, eg. fetching data or protecting pages.

Prefetching props

Prefetching data by using a props field.

Guard / redirect

Protected and redirecting from pages by using a redirect field.