Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Prepare applications for Azure deployment by generating infrastructure code, Dockerfiles, and config files.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/services/static-web-apps/README.md
1# Azure Static Web Apps23Serverless hosting for static sites and SPAs with integrated APIs.45## When to Use67- Single Page Applications (React, Vue, Angular)8- Static sites (HTML/CSS/JS)9- JAMstack applications10- Sites with serverless API backends11- Documentation sites1213## Service Type in azure.yaml1415```yaml16services:17my-web:18host: staticwebapp19project: ./src/web20```2122## Required Supporting Resources2324| Resource | Purpose |25|----------|---------|26| None required | Static Web Apps is fully managed |27| Application Insights | Monitoring (optional) |2829## SKU Selection3031| SKU | Features |32|-----|----------|33| Free | 2 custom domains, 0.5GB storage, shared bandwidth |34| Standard | 5 custom domains, 2GB storage, SLA, auth customization |3536## Build Configuration3738| Framework | outputLocation |39|-----------|----------------|40| React | `build` |41| Vue | `dist` |42| Angular | `dist/my-app` |43| Next.js (Static) | `out` |4445## API Integration4647Integrated Functions API structure:4849```50project/51├── src/ # Frontend52└── api/ # Azure Functions API53├── hello/54│ └── index.js55└── host.json56```5758## References5960- [Region Availability](region-availability.md)61- [Bicep Patterns](bicep.md)62- [Terraform Patterns](terraform.md)63- [Routing and Auth](routing.md)64- [Deployment](deployment.md)65