methods:{
fetchData(){
let url = '/store/api.json';
fetch( url, {
headers : {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
})
.then(response => response.json())
.then( json => {
console.log(json)
});
}
}