Variables
Learn how to use variables in Tailwinds
Last updated
Learn how to use variables in Tailwinds
Last updated
Tailwinds allow users to create variables that can be used in:
For example, you have a database URL that you do not want it to be exposed on the function, but you still want the function to be able to read the URL from your environment variable.
User can create a variable and get the variable like so:
$vars.<variable-name>
Variables can be Static or Runtime.
Static variable will be saved with the value specified, and retrieved as it is.
Value of the variable will be fetched from .env file using process.env