0👍
One way is to set the variable value in the store and use it directly in your js file as you are already importing store in it another way you can pass parameters to fetchInvoices(props.vendorId).
- [Vuejs]-How to use mocking for test uploading file with jest
- [Vuejs]-How to add mixpanel to my SSR quasar project
Source:stackexchange.com