Learn how to use the useCraftAuthToken hook.
This hook returns the Bearer auth token defined in your /libs/query-api.ts.
/libs/query-api.ts
const authToken = useCraftAuthToken();
function useCraftAuthToken(): string;
useCraftUri
Learn how to use the useCraftUri hook.
CraftPage
Learn how to use the CraftPage component.
Usefull Links