An open API service indexing awesome lists of open source software.

https://github.com/kunukn/my-first-static-web-app


https://github.com/kunukn/my-first-static-web-app

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Vanilla JavaScript App

[Azure Static Web Apps](https://docs.microsoft.com/azure/static-web-apps/overview) allows you to easily build JavaScript apps in minutes. Use this repo with the [quickstart](https://docs.microsoft.com/azure/static-web-apps/getting-started?tabs=vanilla-javascript) 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](https://github.com/features/codespaces), or using [VS Code with the remote containers extension](https://code.visualstudio.com/docs/remote/containers), it will be opened inside a container with all the dependencies already installed.

## SWA CLI

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
```