Instructions for use
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:
`
js 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
Experimental: While this adapter was built by Google employees, it is not currently an official Google Cloud product. Support is best-effort only.