Error code
Uncaught TypeError: Object.assign is not a function
The execution code is as follows:
npm install -g vue-cli
vue init webpack projectname
npm install --save mint-ui
main.js:
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
Vue.use(MintUI)
PHP中文网2017-05-19 10:33:36
What version of chrome? Try it on the consoleObject.assign
函数存在不,不存在的话估计得用polyfill
PHP中文网2017-05-19 10:33:36
The Google version is too low and does not support Object.assign. Please update