用官网“自动同步及批量更新”例子运行正常,当使用vue-cli 方式后出现:
package.json:
{
"name": "spreadjs-huangshu",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@grapecity/spread-excelio": "^14.2.4",
"@grapecity/spread-sheets": "^14.2.3",
"@grapecity/spread-sheets-print": "^14.2.5",
"@grapecity/spread-sheets-resources-zh": "^14.2.3",
"@grapecity/spread-sheets-tablesheet": "^14.2.5",
"@grapecity/spread-sheets-vue": "^14.2.3",
"wijmo": "5.20183.568",
"core-js": "^3.6.5",
"element-ui": "^2.4.5",
"less-loader": "^6.0.0",
"xmldom": "0.1.27",
"plugin-typescript": "8.0.0",
"typescript": "3.1.2",
"vue": "^2.6.11",
"vue-router": "^3.2.0",
"vuex": "^3.4.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0",
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-plugin-router": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"axios": "^0.18.1",
"babel-eslint": "^10.1.0",
"file-saver": "^2.0.1",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"vue-cli-plugin-axios": "0.0.4",
"vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended"
],
"parserOptions": {
"parser": "babel-eslint"
},
"rules": {
"vue/no-parsing-error": [
2,
{
"x-invalid-end-tag": false
}
]
}
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
]
}
|
|