Try Install Learn Blog API Packages GitHub
Pages

Constants

Constants can be added to stores , modules and components.

module Math {
  const PI = 3.141592653589793
}

Constants can be accessed like variables inside the scope of the entity which defined them and from outside they can be accessed with the following syntax:

Math:Pi