November 2017
Beginner to intermediate
398 pages
8h 42m
English
In the FAQ.vue Single File Component, we will use the standard fetch API of the web browser to retrieve the questions from our server. The request will be a very simple GET request to http://localhost:3000/questions with no authentication. Each question object will have title and content fields:
<script> export default { data () { return { questions: [], error: null, } }, } </script>
Read now
Unlock full access