Azure Static Web Apps allows you to easily build JavaScript apps in minutes. Use this repo with the quickstart to build and customize a new static site.
This repo is used as a starter for a very basic HTML web application using no front-end frameworks.
This repo has a dev container. This means if you open it inside a GitHub Codespace, or using VS Code with the remote containers extension, it will be opened inside a container with all the dependencies already installed.
Example:
ensure staticwebapp.config.json exists in the app-location folder. This enables API deploy to work.
swa deploy --verbose=silly --app-name my-first-static-web-app --app-location ./src/ --api-location ./api/ --env production --deployment-token <TOKEN-KEY>