Skip to main content

ui.vite

Defines a Vite-built frontend application.

AWS: CloudFront + S3


Configuration

{
"ui": {
"vite": {
"name": "ui",
"location": "orig/ui"
}
}
}
FieldDescription
nameUI identifier. Used in resource naming.
locationPath to the Vite project root (must contain package.json).

Common UI Libraries

The common field defines shared UI code bundled with the main UI:

{
"ui": {
"common": {
"name": "uicommon",
"location": "orig/uicommon"
}
}
}

Config Directory

The configDir specifies where UI configuration lives:

{
"ui": {
"configDir": {
"name": "ui_config",
"location": "orig/ui_config"
}
}
}

This directory contains nn_env.json for UI environment variables.