diff --git a/package.json b/package.json index e6bc1b7..403523d 100644 --- a/package.json +++ b/package.json @@ -2,17 +2,15 @@ "name": "blog-admin-web", "version": "0.1.0", "scripts": { - "dev": "vite", - "prebuild": "vue-tsc --noEmit --skipLibCheck", - "build": "vite build", - "serve": "vite preview" + "dev": "vue-cli-service serve", + "build": "vue-cli-service build" }, "dependencies": { "@element-plus/icons-vue": "^2.0.10", - "aplayer": "^1.10.1", "axios": "^0.22.0", "echarts": "^5.2.1", "element-plus": "^2.2.28", + "hls.js": "^1.3.0", "hyperdown": "^2.4.29", "moment": "^2.29.1", "pretty-bytes": "^5.6.0", @@ -24,11 +22,19 @@ "vuex": "^4.0.2" }, "devDependencies": { - "@types/node": "^16.10.3", - "@vitejs/plugin-vue": "^4.0.0", - "less": "^4.1.1", - "typescript": "^4.4.3", - "vite": "^4.0.4", - "vue-tsc": "^1.0.24" - } + "@vue/cli-plugin-babel": "~5.0.0", + "@vue/cli-plugin-router": "~5.0.0", + "@vue/cli-plugin-typescript": "~5.0.0", + "@vue/cli-plugin-vuex": "~5.0.0", + "@vue/cli-service": "~5.0.0", + "less": "^4.0.0", + "less-loader": "^8.0.0", + "typescript": "~4.5.5" + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not dead", + "not ie 11" + ] } diff --git a/index.html b/public/index.html similarity index 83% rename from index.html rename to public/index.html index 61e08e2..85d9e12 100644 --- a/index.html +++ b/public/index.html @@ -8,6 +8,5 @@
-