To get JSON object directly from a file in your application or Single Page Application in VueJS, is very easy, all you have to do a create a .json file in your file structure and call that file from the component.

NOTE: Its expected that you will get an error, because the example application in this video loads the DOM without any data, look for the next chapter (4.2) that shows you how to resolve, in other words, how to load the data before the DOM loads. Sort of like UseEffect() in react.

1GNsWa_EZdw