sgr
sgr
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
s) - name: Upload to Deno Deploy uses: denoland/deployctl@v1 with: project: "antilibrary-astro" entrypoint: "server/entry.mjs" # 📝 Update the entrypoint root: "dist" # 📝 Update the root here is the github action being used to deploy app. Do i need to make changes to this.
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
Is this possible or should I just render site as ssg
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
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()],
});
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()],
});
here is how my astro config looks like. I am planning to use mix of ssg and ssr.
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
The home page is SSG. I might add a page which would be SSR.
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
Its SSG site
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
getting 404 error. at "/" but when I access the same using "/index.html" it works.
11 replies
DDeno
Created by sgr on 7/31/2023 in #help
Astro - Vs code template
11 replies