1, index.html code
2. Entry app.js code
3. Error message
Error: Uncaught TypeError: Object.assign is not a functionHow to solve it?
Your browser is too old and does not support this method. Object.assign seems to be a method only available in es6. Solution: introduce babel/ployfill
$ npm install babel-core --save-dev
import 'babel-core/polyfill'
You can refer to this: http://babeljs.io/docs/usage/...
Your browser is too old and does not support this method. Object.assign seems to be a method only available in es6. Solution: introduce babel/ployfill
You can refer to this:
http://babeljs.io/docs/usage/...