api to get data. i wonder whats the best practice to fetch json data at app startup with vue-cli. do you do that in a vue component or main.js? any pros and cons?
The best practice for "fetching json data at startup" is probably to do it
That depends on wheter you need that data to to anything useful, or not
Обсуждают сегодня