@bluvenit/astro-adapter-azure
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@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

Package Sidebar

Install

npm i @bluvenit/astro-adapter-azure

Weekly Downloads

16

Version

0.0.4

License

MIT

Unpacked Size

8.27 kB

Total Files

8

Last publish

Collaborators

  • lgastler