Answers for "how to load existing json data in nuxt"

0

how to load existing json data in nuxt

<script>
import authors from '~/static/data.json'

export default {
  asyncData ({ params }) {
    return { authors }
  }
}
</script>
Posted by: Guest on September-13-2020

Code answers related to "how to load existing json data in nuxt"

Code answers related to "Javascript"

Browse Popular Code Answers by Language