Configuration
Overview
The configuration variables related to your app are stored in /assets/custom/js/config.js
file.
You can store configuration variables such as app settings, API keys related to third-party services inside this file.
The example structure for storing variables is:
In the same way, you can store config variables inside window.config
object.
Accessing Configuration Variables
You can access these variables from inside JavaScript or from inside the HTML template literals.
Last updated