Skip to content

Commit

Permalink
+-依赖版本
Browse files Browse the repository at this point in the history
  • Loading branch information
abc committed Dec 23, 2024
1 parent fd2d202 commit 91fed54
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 172 deletions.
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./apple-touch-icon.png">
<link rel="icon" href="./favicon.ico"/>
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
Expand Down
8 changes: 4 additions & 4 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite"
"dev": "vite",
"preview": "vite preview"
},
"dependencies": {
"animate.css": "3.5.1",
"axios": "^0.27.2",
"vite": "^5.4.3",
"vue": "^2",
"vue-axios": "^3.4.1",
"vuetify": "^2.6.0",
"vuetify": "^2.7.2",
"vuex": "3.4.0"
},
"devDependencies": {
Expand All @@ -24,7 +25,6 @@
"less": "^4.0.0",
"sass": "^1.83.0",
"terser": "^5.37.0",
"vite": "^6.0.5",
"vue-tsc": "^2.1.10"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
Expand Down
5 changes: 0 additions & 5 deletions web/src/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
import Vue from 'vue'
import App from './App.vue'
import vuetify from './plugins/vuetify'
import axios from "axios";
import VueAxios from "vue-axios";
import store from "./plugins/vuex";
import 'animate.css'

Vue.use(VueAxios, axios)
Vue.config.productionTip = false

new Vue({
vuetify,
store: store,
Expand Down
2 changes: 1 addition & 1 deletion web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import vue2 from '@vitejs/plugin-vue2'

export default defineConfig({
base: './',
publicDir: 'static',
publicDir: 'public',
plugins: [
vue2(),
legacy({
Expand Down
Loading

0 comments on commit 91fed54

Please sign in to comment.