sgr
Explore posts from serversAstro - Vs code template
I am deploying this app using the deno deploy. My app's root is available at https://antilibrary-astro.deno.dev/index.html. https://antilibrary-astro.deno.dev/ this throws the error. ---
import Layout from "../layouts/Layout.astro";
export const prerender = true;
---
<Layout title="Antilibrary - The App">
<></>
</Layout>
this is pages/index.astro
[18:21]
import { defineConfig } from "astro/config";
// Eventually, replace this import with the official one - we're using a
// patched version for now.
// import deno from "@astrojs/deno";
import deno from "deno-astro-adapter";
import tailwind from "@astrojs/tailwind";
import react from "@astrojs/react";
// https://astro.build/config
export default defineConfig({
output: "server",
adapter: deno(),
integrations: [tailwind(), react()],
});
11 replies