0👍
You should check it on your own, because i don’t know what template of vue-cli you use.
You need to check if Babel
is connected to your webpack config. Read this doc to learn more about it.
Then check the .babelrc
file in your project directory. Check the targets
property in this file. Editting this property you can set up browsers that should be compatible with your code.
- [Vuejs]-Shorter way of importing components in vue-router
- [Vuejs]-Can't deploy Vue app in production
Source:stackexchange.com