@gnuechtel/astro-adapter-azure
v0.0.5
Published
Deploy your site to Azure using SWA
Downloads
16
Maintainers
Readme
@gnuechtel/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
- Install the adapter:
npm install @gnuechtel/astro-adapter-azure @azure/functions
- Add the adapter to your
astro.config.mjs
:
import azure from "@gnuechtel/astro-adapter-azure";
export default {
// ...
output: "hybrid",
adapters: [azure()],
};
- Add
.api
to your.gitignore
:
echo ".api" >> .gitignore
Documentation
Support
Check our Astro Integration Documentation for more on integrations.
Submit bug reports and feature requests as GitHub issues.
Licence
MIT
Copyright (c) 2024–present bluvenit AG