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