Using Environment Variables in a Frontity project
Adding environment variables to a Frontity Project
{
"scripts": {
"dev": "cross-env MY_VARIABLE=xxx frontity dev",
"serve": "cross-env MY_VARIABLE=xxx frontity serve",
"build": "cross-env MY_VARIABLE=xxx frontity build"
}
}MY_VARIABLE=xxxAccessing the environment variables
Private access to the environment variables 
Generic access to the environment variables

Last updated