Coder Social home page Coder Social logo

Comments (8)

igorskyflyer avatar igorskyflyer commented on September 22, 2024 1

Sorry for the inconvenience and thanks for the interest in the component!

There was a major upgrade of Astro, where they switched to using Collections, which was implemented recently in my component as well. I tested the new implementation twice, in the test site of the component itself and in my personal blog, both work fine and I got some input from other devs using the component that everything works fine.

That being said, I need to take your sample code, test it locally and I'll get back to you with a solution. 😉

from npm-astro-post-excerpt.

tjex avatar tjex commented on September 22, 2024 1

great, thanks!

from npm-astro-post-excerpt.

tjex avatar tjex commented on September 22, 2024 1

thanks for getting back. I'm in the middle of a few things myself. I'll try reimplementing your plugin on a separate branch of my website, which is on github and ping you here with a link when it's available. And if in the process I realise it's something on my end, I'll update here accordingly 👍

from npm-astro-post-excerpt.

tjex avatar tjex commented on September 22, 2024 1

Heyo. Here's the branch where I've tried reimplementing the plugin: https://github.com/tjex/tjex.net/tree/post-preview

Implementation is here: https://github.com/tjex/tjex.net/blob/post-preview/src/pages/blog/%5B...page%5D.astro

from npm-astro-post-excerpt.

tjex avatar tjex commented on September 22, 2024 1

thanks again :)

from npm-astro-post-excerpt.

igorskyflyer avatar igorskyflyer commented on September 22, 2024

Sorry for the late reply, I was quite busy with work, I tried a few days ago and now again to reproduce your issue but couldn't.

Is there a complete sample repo/code for me to test it against? 🫤

from npm-astro-post-excerpt.

igorskyflyer avatar igorskyflyer commented on September 22, 2024

thanks for getting back. I'm in the middle of a few things myself. I'll try reimplementing your plugin on a separate branch of my website, which is on github and ping you here with a link when it's available. And if in the process I realise it's something on my end, I'll update here accordingly 👍

What I can tell you is that the error you're getting means that you didn't pass a valid post so the problem must be in the way you pass your posts to my component, most likely in your posts loop.

Hope that helps a bit, I look forward to fixing your issue when you set up the new branch. 😄

from npm-astro-post-excerpt.

igorskyflyer avatar igorskyflyer commented on September 22, 2024

Heyo. Here's the branch where I've tried reimplementing the plugin: https://github.com/tjex/tjex.net/tree/post-preview

Implementation is here: https://github.com/tjex/tjex.net/blob/post-preview/src/pages/blog/%5B...page%5D.astro

Great, I'll be working on it tonight, thanks 😁

from npm-astro-post-excerpt.

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.