azure-static-web-apps
CLI-based assistance for Azure Static Web Apps: local emulator, config management, framework auto-detection, and automated deployment.
Introduction
The Azure Static Web Apps (SWA) skill provides comprehensive CLI-driven support for managing the full lifecycle of static web applications. Designed for developers utilizing the SWA CLI, this skill streamlines local development, environment configuration, and cloud deployment. It assists with complex workflows such as integrating serverless Azure Functions backends, setting up database connections, and managing project-specific configuration files.
-
Local emulation of Azure environments including API proxying, route management, and authentication simulation.
-
Intelligent framework auto-detection to simplify project initialization and configuration generation.
-
Streamlined deployment workflows for production and preview environments using the swa CLI.
-
Automated management of project configuration files, ensuring best practices for swa-cli.config.json and staticwebapp.config.json.
-
Native support for integrating backend Azure Functions APIs and defining navigation fallbacks or custom routing rules.
-
Always utilize the swa init command as the primary entry point to ensure configuration files are generated with accurate, framework-specific defaults.
-
Avoid manual creation of the swa-cli.config.json file to prevent configuration errors; use the interactive CLI prompts for consistency.
-
Supports standard frontend frameworks including React, Vue, Next.js, Angular, and Vite with pre-configured port mappings.
-
Facilitates secure authentication and deployment token management for CI/CD pipelines.
-
Users should ensure the @azure/static-web-apps-cli package is installed globally or locally as a development dependency before triggering orchestration commands.
Repository Stats
- Stars
- 31,727
- Forks
- 3,844
- Open Issues
- 49
- Language
- Python
- Default Branch
- main
- Sync Status
- Idle
- Last Synced
- Apr 30, 2026, 08:47 AM