vue. The code is as follows:
import zhCNLocale from "element-ui/lib/locale/lang/zh-CN"
export default {
...zhCNLocale,
next: "",
submit: "",
but keep reporting errors
Module parse failed: Unexpected token (5:1)
You may need an appropriate loader to handle this file type.
|
| export default {
| ...zhCNLocale,
| next: "",
| submit: "",
@ ./src/providers/lang-provider.js 4:0-48
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js
Excuse me, what is the reason for this?