前言: 1. 建议转换项目之前,复制出来一份进行转换。 如果项目引用的有第三方库,那么转换过程很可能会卡住没反应,特别是复杂的第三方库,如地图、二维码之类。那么就需要对文件进行处理后再次尝试转换,待项目转换完成后,再去完善修改过的文件。 2. 如果项目使用了npm方式安装的第三方ui库,如vant-weapp,那么转换之前
"integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", "dev": true, "requires": { "babel-runtime": "^6.22.0", "babel-types": "^6.24.1" } }, "babel-plugin-transform-es2015-for-of": { "version": "6.23.0", "resolved": "https://registry.npmjs.org/babel-plugin...
属性没有定义,导致报错 [Vue warn]:Property or method "toJSON" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See:https://vuejs.org/v2/guide/react...