Displaying Ghost html posts & Date format (Nuxtjs & Vue)


#1

Hey,

I’m running Ghost as a docker container, proxied with nginx. In that part everything is fine. Now, here is the kicker, I am using Nuxt.js :slight_smile:

The intergration via API is smooth and everthing works, but I have 2 issues:

1: the published date is displayed in the following format * 2019-02-03T03:24:00.000-05:00
2: For those familiar with Nuxt or vue, I’m inserting the blog content on the page by reffering to the html data in the JSON response. But the html is not formated. Screenshot attached.


#2

I fixed the html issue using v-html=“datasource” in the html tag


closed #3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.