[Vuejs]-Momentjs shows isValid true and console logs correct date and flashed correct .fromNow() but quickly changes to invalid date

0๐Ÿ‘

โœ…

I found the way to do so but

<p>{{$moment(chapter.createdAt).fromNow()}}</p>

i just installed the nuxt/moment and used it directly in the template!

Leave a comment