firebase-framework-tools icon indicating copy to clipboard operation
firebase-framework-tools copied to clipboard

Astro adapter

Open Yuangwang opened this issue 1 year ago • 1 comments

Adds support for Astro in Firebase App Hosting.

To use follow these instructions:

  1. Install the @apphosting/astro-adapter Astro adapter with the following command in your terminal: npx astro add @apphosting/astro-adapter
  2. 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',
  }),
});
  1. Push the changes to github and kickoff a new rollout

Yuangwang avatar Jan 22 '25 17:01 Yuangwang

local images are not showing up. Is there something i need to change to get it working or is this a bug?

image image

schmetti-dev avatar May 23 '25 10:05 schmetti-dev