Skip to content

jyrive/hack

Repository files navigation

SvelteKit + Azure Static Web Apps (SSR)

This repository root now contains a minimal SvelteKit project configured for Azure Static Web Apps with server-side capability.

What is included

Local development

npm install
npm run dev

Build

npm run build

This creates:

  • Static app artifacts in build/static
  • SWA API (SSR function) in build/server

Azure Static Web Apps deployment notes

Workflow uses these required settings for this adapter:

  • app_location: ./
  • api_location: build/server
  • output_location: build/static

Add the deployment token as repository secret:

  • AZURE_STATIC_WEB_APPS_API_TOKEN

Then push to main to trigger deployment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages