[Vuejs]-How to have Vuex mapState with computed properties in vuejs

0👍

You are getting this error because the babel is not working on your vue file. The laravel-mix library should do this for you, but if you are manually configuring the file using a webpack.config.js file, you will have to attach a babel loader to the vue loader.

I answered this question on another thread… https://stackoverflow.com/a/49581031/1718887

Leave a comment