Vanha frontend siirretty temp/. Uusi rakenne: - StatusBar.astro, Terminal.astro, Editor.astro, Guide.astro - global.css erillinen - Wasm pääsäikeessä (ei Worker — yksinkertainen, debugattava) - Tab-completion, dropdown, projektikortti, Monaco, GUIDE.md - Ei tokenisointia eikä koodilaboratoriota Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
18 lines
724 B
TypeScript
18 lines
724 B
TypeScript
import type { AstroRenderer } from '../types/public/integrations.js';
|
|
import type { SSRLoadedRenderer } from '../types/public/internal.js';
|
|
/**
|
|
* Use this function to provide renderers to the `AstroContainer`:
|
|
*
|
|
* ```js
|
|
* import { getContainerRenderer } from "@astrojs/react";
|
|
* import { experimental_AstroContainer as AstroContainer } from "astro/container";
|
|
* import { loadRenderers } from "astro:container"; // use this only when using vite/vitest
|
|
*
|
|
* const renderers = await loadRenderers([ getContainerRenderer ]);
|
|
* const container = await AstroContainer.create({ renderers });
|
|
*
|
|
* ```
|
|
* @param renderers
|
|
*/
|
|
export declare function loadRenderers(renderers: AstroRenderer[]): Promise<SSRLoadedRenderer[]>;
|