bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.78k stars 1.32k forks source link

How to call actions #154

Closed boardofchris closed 5 years ago

boardofchris commented 5 years ago

I have a question about how to call actions within the framework. I am a little confused about the auto module loading and namespaces the framework is performing. So for example, what would profile.vue look like if it called the fetchUser action to populate the user profile fields.

boardofchris commented 5 years ago

I solved my own question. The fetchUser action is called in routes.js