clearmatics / qreacto

Run standalone React components in your Quarto project!
https://clearmatics.github.io/qreacto/example.html
MIT License
34 stars 1 forks source link

Investigate the use of Import meta and its feasibility for handling env variables #12

Closed dweng0 closed 11 months ago

dweng0 commented 1 year ago

Summary

We need an approach that allows environment variables to be passed in. This issue tracks looking at import meta as a way of handling the import of env variables, if it is feasible and what work would be required.

dweng0 commented 11 months ago

import.meta was not a viable option as it is designed for handling imports (resolves ect).

However, looking at the Quarto documentation. I've done the following: