0.0.4 • Published 3 months ago

@bluvenit/astro-adapter-azure v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
3 months ago

@bluvenit/astro-adapter-azure

This is an experimental adapter for the Astro static site builder. It allows you to deploy your Astro site to Azure Static Web Apps including support for API routes. For now API Routes / SSR only supports routes in the /api route, this is a limitation of Azure Static Web Apps.

Setup

  1. Install the adapter:
npm install @bluvenit/astro-adapter-azure @azure/functions
  1. Add the adapter to your astro.config.mjs:
import azure from "@bluvenit/astro-adapter-azure";

export default {
  // ...
  output: "hybrid",
  adapters: [azure()],
};
  1. Add .api to your .gitignore:
echo ".api" >> .gitignore

Documentation

Support

Licence

MIT

Copyright (c) 2024–present bluvenit AG

0.0.4

3 months ago

0.0.3

3 months ago

0.0.2

3 months ago