git commit -m "feat: initial release of Strata framework v0.1.0
- 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
This commit is contained in:
21
examples/basic-app/strataconfig.ts
Normal file
21
examples/basic-app/strataconfig.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
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,
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user