Reference
Vista Config Reference
Reference for `vista.config.ts` including server settings, image config, and experimental typed API flags.
Updated: 2026-03-04
Minimal Config
ts
const config = {};
export default config;Typed API Config
ts
const config = {
experimental: {
typedApi: {
enabled: true,
serialization: 'json', // 'json' | 'superjson'
bodySizeLimitBytes: 1024 * 1024,
},
},
};
export default config;Server Port
ts
const config = {
server: {
port: 3000,
},
};
export default config;Image Domains
ts
const config = {
images: {
domains: ['example.com', 'cdn.myapp.com'],
},
};
export default config;