I'm getting a it confused here. In a VueJS project I'm using a dummy json data in the following way :
import data from './assets/data.json'
which i can than print to the screen, for example : {{Object.keys(data)}}
In this question i find different answers, some claim you cant import json files, some claim you can . common sense implies that i can import them since it is working in my project, now the question is: is this some Webpack magic helping me to achieve this import or any other behavior taking place under the hood? or is ES6 actually allows me to import json as presented above?