Replies: 2 comments 1 reply
-
Hey @arnab, Outstatic is a CMS, it only manages content. The frontend/design implementation is something you'd have to work on yourself. So in other words, yes. You'd need to create the logic to fetch data and display it on the site using our helper functions from the You can find examples in our examples folder. Look through the code and routes of the There you will find all the code needed to display the content generated by Outstatic on your frontend. I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Thanks @avitorio - I was able to get it working. Closing this. |
Beta Was this translation helpful? Give feedback.
-
Hi @avitorio and folks!
I am trying to add Outstatic to an existing Next.js website. I am fairly new to Next.js (and brand new to Outstatic). I followed the guide, including Adding Outstatic to a Next.js website and:
posts
, anddocs
/not-found
404 route/page.I think the guide assumes that you want to manage the whole website with Outstatic (even if you are adding it an existing Next.js site)? What I want to do is:
/
, and some sub-pages and a dynamic web-app built under/app/
/posts
be the index for the Outstatic created/managed documents in theposts
collection./docs
show the index for docs collection./posts
and/posts/hello-world
?Beta Was this translation helpful? Give feedback.
All reactions