1, index.html code
2. Entry app.js code
3. Error message
Error: Uncaught TypeError: Object.assign is not a function
How to solve it?
为情所困2017-07-06 10:38:27
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'