Pages
Client-side Apps
Section titled “Client-side Apps”page
entity helps abstract web pages (SPA, SSR, PWA etc).
name: topology-name
pages: my-app: kind: SPA | PWA | Static dist: './dist' dir: 'app' build: - npm install --quiet - npm run build
SSR and Edge functions
Section titled “SSR and Edge functions”WIP
Dynamic Configuration
Section titled “Dynamic Configuration”WIP
Customization
Section titled “Customization”Domains
Section titled “Domains”tc does not create domains, zones or certs. Assuming you have created the domains to associate, for example foo.com and bar.com, you can set them either in the topology file or correspoding infra dir.
pages: foo: dist: '.' domains: - foo.com bar: dist: '.' domains: - bar.com
Bucket
Section titled “Bucket”You could set TC_PAGE_BUCKET
env var
Components
Section titled “Components”To update specific components
tc update -s sandbox -e profile -c pages/codetc update -s sandbox -e profile -c pages/build