Configuration is is located in the .triplex
folder from the root of your project and is optional.
Create one by running the following commands in your terminal.
Terminal
npx make-dir-cli .triplex
npx touch .triplex/config.json
New Knowledge
To have autocomplete for configuration in your IDE make sure to declare the "$schema"
property.
.triplex/config.json
{
"$schema": "https://triplex.dev/config.schema.json"
}
files
Paths to component files to be opened.
provider
Path to your provider component for global & environment configuration.
components
Standalone
Paths to component files that should appear in the Assets Panel.
publicDir
Path to the directory where static assets are stored.
assetsDir
Standalone
Name of the folder that will have its contents appear in the Assets Panel.
define
Declare strings that are replaced at runtime.