2019-06-03babel import demand for mintUI error when .babelrc

.Babelrc needs to be increased in this should be:
[ "component",
{
"libraryName": "Mint-UI",
"style": to true
}
]
behind the "component" to be an object instead of an array
to remember to be html increase meta: vp viewport

(babel-plugin-component官网)[https://www.npmjs.com/package/babel-plugin-component]

Guess you like

Origin blog.csdn.net/weixin_33991727/article/details/90843764