Closed flashios09 closed 7 years ago
This means there's a problem in your .babelrc
- stage-2 doesn't seem to be included. Not vue-loader
related.
No, this is a vue-loader issue indirectly. I am not using babel at all because I want to support what latest Firefox, Chrome, and Node support. All of these support the spread operator natively as of their latest versions today (8.9.1 for node, Chrome 62, not sure for FF). Therefore a dependency of vue is not support it trying to transform the JS.
Because webpack does not support spread operator.
Hi,
I want to use the spread operator
...
inside a.vue
but every time i have this error:That's my webpack config:
This is what i have in package.json
when i do
eslint Todos.vue
, i don't have the build module error for the...Vuex.mapGetters(['todos'])
What i have to do ?