#Access integration options from components

3 messages · Page 1 of 1 (latest)

solemn pebble
#

I am trying to access my integration's options from a .astro file (page). I am using injectRoute to mount the page, so I can't utilize the props to send it down. Is there any way to read integration options from the page? (like Astro.site)

dusty hatchBOT
#

Hi @solemn pebble. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

Hmm, I don't know enough to give you a confident answer yet. The extracts provided do not contain information on how to access integration options from a .astro file when using injectRoute.

However, you can refer to the Astro Integration API (https://docs.astro.build/en/reference/integrations-reference/) for more details on how to use the injectRoute hook and other features of Astro's Integration API.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: