1👍
you should determine the file extension too,
so it should be like:
import json from "../data/urls.json";
- [Vuejs]-Vue.js v-for in component renders when I visit the URL through a router-link but if I type the URL manually or refresh the page, v-for doesn't render
- [Vuejs]-Vue variables are not set after I get them from api
Source:stackexchange.com