superoo7 / vue-cli-plugin-chrome-ext

vue cli plugin that setup vue project for chrome extension
MIT License
94 stars 10 forks source link

The 'manifest_version' key must be present and set to 2 (without quotes). See developer.chrome.com/extensions/manifestVersion.html for details. 无法加载清单。 #7

Closed rockey2020 closed 3 years ago

rockey2020 commented 3 years ago

{ "name": "test", "version": "0.1.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", "lint": "vue-cli-service lint", "build-watch": "vue-cli-service build-watch" }, "dependencies": { "@mdi/font": "5.9.55", "axios": "^0.21.1", "core-js": "^3.9.1", "crypto-js": "^4.0.0", "localforage": "^1.9.0", "pako": "^2.0.3", "register-service-worker": "^1.7.2", "roboto-fontface": "", "vue": "^3.0.7", "vue-router": "^4.0.4", "vuetify": "^3.0.0-alpha.1", "vuex": "^4.0.0", "vuex-persistedstate": "^4.0.0-beta.3", "web-socket-utils": "^1.0.1" }, "devDependencies": { "@vue/cli-plugin-babel": "~4.5.11", "@vue/cli-plugin-eslint": "~4.5.11", "@vue/cli-plugin-pwa": "~4.5.11", "@vue/cli-plugin-router": "~4.5.11", "@vue/cli-plugin-vuex": "~4.5.11", "@vue/cli-service": "~4.5.11", "@vue/compiler-sfc": "^3.0.7", "@vue/eslint-config-prettier": "^6.0.0", "babel-eslint": "^10.1.0", "copy-webpack-plugin": "^4.6.0", "eslint": "^7.21.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-vue": "^7.7.0", "less": "^4.1.1", "less-loader": "^8.0.0", "lint-staged": "^10.5.4", "prettier": "^2.2.1", "sass": "^1.32.8", "sass-loader": "^10.1.1", "vue-cli-plugin-chrome-ext": "0.0.5", "vue-cli-plugin-vuetify": "~2.2.2" }, "gitHooks": { "pre-commit": "lint-staged" }, "lint-staged": { ".{js,jsx,vue}": [ "vue-cli-service lint", "git add" ] } }

rockey2020 commented 3 years ago

chrome version 88.0.4324.182

rockey2020 commented 3 years ago

If I manually add manifest_version into it, it will succeed