How do I pass a server variable to client side JS in astro?
11:25 27 Aug 2022

I found this (github) html starter page for google auth, and I wanted to make it into a astro component. Im wanted to convert this to a .astro file and be able to pass in the variables for CLIENT_ID and API_KEY from the backend. I

Here's the HTML code from google:



  
    Google Calendar API Quickstart
    
  
  
    

Google Calendar API Quickstart



    
    
    
  

I quickly found there's no way to template these variables into the