firebase-framework-tools
firebase-framework-tools copied to clipboard
Astro adapter
Adds support for Astro in Firebase App Hosting.
To use follow these instructions:
- Install the @apphosting/astro-adapter Astro adapter with the following command in your terminal:
npx astro add @apphosting/astro-adapter - Add the adapter with the standalone rendering mode to your astro.config.* file:
import { defineConfig } from 'astro/config';
import node from '@apphosting/astro-adapter';
export default defineConfig({
output: 'server',
adapter: node({
mode: 'standalone',
}),
});
- Push the changes to github and kickoff a new rollout