Rendering subdirectoy .md files onto parent page #1169
Unanswered
thinkbig1979
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Faced the same issue, this module looks bugged. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This issue is resolve in main branch and waiting for release, until then you can use - "@nuxt/content": "^2.0.0",
+ "@nuxt/content": "npm:@nuxt/content-edge@latest", |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I'm using the wind starter as a base for building a website that explains my services and shows testimonials.
Getting the top level navigation working was easy enough, but in my "/content/3.testimonials" folder I have a bunch of MD files, one for each testimonial. I'd like to display the testimonials as cards on the /testimonials page, and figured I could use the ContentList component to grab the content from each testimonial and render it as I please. However, I've tried building a really simple Vue component, called "MyTestimonials.vue" , like this:
I dropped it into /components/content/
Adding
to the index.md file in /content/3.testimonials produces nothing on the Testimonials page.
Adding this in stead
produces
({ data }) => emptyNode("not-found", data)
on the Testimonials pageNot sure if my approach is altogether flawed, or if it's something small.
Any input would be appreciated.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions