Skip to content

Can you make an official sanity-astro-loader for the new Astro Content Layer architecture? #289

@ckdt

Description

@ckdt

I feel like using groq directly inside of the astro files, and working with load-query kind of make the astro files a bit complicated.
I would love it if we can have something javascript-y to populate my astro components.

I found that Astro now has this amazing Astro Content Layer architecture, and that hygraph already made a loader for this. Can we have something similar for Sanity. BC. I would rather use sanity tbh.

Here is the hygraph one as a reference
https://www.youtube.com/watch?v=gpUID_rsdqU

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions