SR
Click to open github profile
Composables

useCraftFullUrl

Learn how to use the useCraftFullUrl composable.


This composable offers a simple and SSR-friendly way to retrieve the full URL. It is used internally by the useCraftUri and useCraftCurrentSite composables.

Usage

Returns the full URL:

const fullUrl = useCraftFullUrl();

Copyright © 2025 Samuel Reichör