[Vuejs]-How to pass props to a vue component at initialization inside single file vue components (dependency injection in vue-loader)?

0👍

This is could be done via Inject Loader when using vue loader with single file vue components but it adds a lot of unnecessary complexity and it’s mostly meant for testing. It seems like the preferred way of managing state is by using a global state management store like Vuex.

Leave a comment