Coder Social home page Coder Social logo

Add support for Astro v3 about astro-embed HOT 3 CLOSED

delucis avatar delucis commented on June 15, 2024
Add support for Astro v3

from astro-embed.

Comments (3)

delucis avatar delucis commented on June 15, 2024 1

Thanks for the issue! Should be as simple as updating peerDependencies with ^2.0.0 || ^3.0.0-beta instead of just ^2.0.0, then running npm install.

Would you be interested in making a PR?

You can see the places that need updating here: https://github.com/search?q=repo%3Adelucis%2Fastro-embed+%22astro%22%3A+%22%5E2.0.0%22&type=code

from astro-embed.

jawills avatar jawills commented on June 15, 2024

Not sure what I am doing wrong but the embed is not working in astro v3.0 (worked in v2.x). I upgraded the packages, but when the URL or component is included in the mdx file, nothing is rendered.

from astro-embed.

delucis avatar delucis commented on June 15, 2024

Thanks for reporting @jawills. Would you mind opening a new issue with some more details about how you’re setting things up, which component you’re using etc.? If you can share a link to a reproduction, that would be ideal.

I know the YouTube component is working in 3.0 as it was used in a blog post on astro.build on Monday, but haven’t had a chance to try it myself.

from astro-embed.

Related Issues (20)

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.