0👍
Got solution:
axios
.get("/api/difficulty-level")
.then(({ data }) => (this.difficulties = data));
Need to add /
before before route link for nested routes
- [Vuejs]-How do I use outsourced and editable scripts in Nuxt.js?
- [Vuejs]-Google Charts wont take js variable
Source:stackexchange.com