Comments (8)
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.
great, thanks!
from npm-astro-post-excerpt.
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.
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.
thanks again :)
from npm-astro-post-excerpt.
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.
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.
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)
- Implement @igor.dvlpr/strip-headings
- Broken Astro integrations link
- Update author email
- Support for HTML rendering HOT 1
- Add support for hybrid rendering HOT 1
- Ellipsis in detected symbols HOT 1
- Switch to astro v2 HOT 10
- Switch to TypeScript HOT 1
- Strip HTML headings HOT 1
- Broken Intellisense
- Improve testing
- [DEV]: Upgrade astro to v2.2.0 (test site)
- [DEV]: Upgrade astro to v2.2.0
- Peer dependency install error
- [DEP]: Upgrade prettier to v3.0.0
- [DEP]: Upgrade astro to v2.8.2
- [DEP]: Upgrade astro to v2.8.2 (test site)
- Markdown syntax still being rendered HOT 3
- Missing whitespace when collecting strings
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-astro-post-excerpt.