Coder Social home page Coder Social logo

deno-astro-adapter's People

Contributors

hashrock avatar kwhinnery avatar lilnasy avatar matthewp avatar ohrrkan avatar revgum avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

deno-astro-adapter's Issues

Hybrid output not working

I was trying to use this adapter with output set to hybrid.

export default defineConfig({
  output: 'hybrid',
  adapter: deno(),
});

This doesn't cause any errors; my console shows the message "Server running on port 8085"... but when I visit 0.0.0.0:8085 I get an empty 404.

I eventually figured out that changing output from hybrid to server fixed the issue.


Is there any plan to add support for hybrid mode? (I am willing to help)
If not, maybe this should be mentioned in the readme, or the server could throw an error on startup.

Astro content collections not working

I'm trying to get content collections running using SSR with Deno.
Using the deno-astro-template Astro works, but the collections is empty:

  • File: src/pages/blog/index.astro
---
import Layout from "../../layouts/Layout.astro" //"../../layouts/main.astro";
import { getCollection, getEntry } from "astro:content";

const blog_carddata = (await getCollection("blog"));
---

<Layout>
<div>CARDDATA: {blog_carddata}</div>
</Layout>
  • blog dir and mdx files are existing in: src/content/blog/xx.mdx

  • config.ts with

import { defineCollection, z } from "astro:content";
const blogCollection = defineCollection({..});
export const collections = {
  blog: blogCollection,
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.