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.jsonNew 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 that can be opened with "Open in Triplex".
provider
Path to your provider component for global & environment configuration.
components
Paths to component files that can be dragged into the scene.
publicDir
Path to the directory where static assets are stored.
define
Declare strings that are replaced at runtime.
UNSAFE_viteConfig
Define custom bundler configuration that otherwise can't be handled by default behavior.