What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-09 23:26:14
Nuxt js '@nuxtjs/markdownit'
export default { async asyncData({ $axios, $md }) { //I am also using axios to get the content from the Strapi API. const home = await $axios.$get("/home-page"); //This is where I use $md to parse the markdown for the example in t... Add solution -
Javascript 2021-09-22 14:24:03
nuxt does asyncData appear on the front end
As you've mentioned Nuxt will first fulfil any asynchronous call you put into asyncData. Once this is done it'll start to render your view, render in this context means it'll simply replace your component tree on the first view with html. All of this happ... Add solution