Here is how I have organized the structure of my Vue app:
components/
article/
AppList.vue
common/
AppObserver.vue
NoSSR.vue
layout/
AppFooter.vue
AppHeader.vue
ui/
AppButton.vue
AppList.vue
pages/
ArticlePage/
index.vue
ArticleTitle.vue
LastArticlesSection.vue
UserPage.vue
....
I am curious about best practices when it comes to using the Vuex store and calling APIs. Should I only do this from the index.vue file of the pages, passing necessary data to children components via props? Or would it be better to use the store and APIs in other components like AppList.vue, which is a common component used across multiple pages?