- Static compiler with STRC pattern (Static Template Resolution with
Compartmentalized Layers)
- Template syntax: { } interpolation, { s-for }, { s-if/s-elif/s-else
}
- File types: .strata, .compiler.sts, .service.sts, .api.sts, .sts,
.scss
- CLI tools: strata dev, strata build, strata g (generators)
- create-strata scaffolding CLI with Pokemon API example
- Dev server with WebSocket HMR (Hot Module Replacement)
- Documentation: README, ARCHITECTURE, CHANGELOG, CONTRIBUTING,
LICENSE
22 lines
369 B
TypeScript
22 lines
369 B
TypeScript
import { defineConfig } from 'strata';
|
|
|
|
export default defineConfig({
|
|
app: {
|
|
title: 'Strata Example App',
|
|
description: 'A simple example using Strata Framework',
|
|
},
|
|
|
|
api: {
|
|
baseUrl: 'https://jsonplaceholder.typicode.com',
|
|
cache: {
|
|
enabled: true,
|
|
defaultTTL: '5m',
|
|
},
|
|
},
|
|
|
|
state: {
|
|
encrypt: true,
|
|
persist: true,
|
|
},
|
|
});
|