File tree 3 files changed +209
-1226
lines changed
3 files changed +209
-1226
lines changed Original file line number Diff line number Diff line change 10
10
},
11
11
"dependencies" : {
12
12
"firebase" : " 4.6.2" ,
13
- "vue" : " ^2.6.12" ,
13
+ "vue" : " ^3.1.0" ,
14
+ "@vue/compat" : " ^3.1.0" ,
14
15
"vue-router" : " ^3.0.0" ,
15
16
"vuex" : " ^3.0.0" ,
16
17
"vuex-router-sync" : " ^5.0.0"
17
18
},
18
19
"devDependencies" : {
19
- "vite-plugin-vue2" : " ^1.4.4" ,
20
+ "@vitejs/plugin-vue" : " ^1.2.2" ,
21
+ "@vue/compiler-sfc" : " ^3.1.0" ,
20
22
"stylus" : " ^0.54.8" ,
21
23
"vite" : " ^2.2.3"
22
24
}
Original file line number Diff line number Diff line change 1
1
import { defineConfig } from 'vite'
2
- import { createVuePlugin } from 'vite- plugin-vue2 '
2
+ import createVuePlugin from '@vitejs/ plugin-vue '
3
3
4
+ // https://vitejs.dev/config/
4
5
export default defineConfig ( {
5
- plugins : [ createVuePlugin ( ) ]
6
+ resolve : {
7
+ alias : {
8
+ vue : '@vue/compat'
9
+ }
10
+ } ,
11
+ plugins : [
12
+ createVuePlugin ( {
13
+ template : {
14
+ compilerOptions : {
15
+ compatConfig : {
16
+ MODE : 2
17
+ }
18
+ }
19
+ }
20
+ } )
21
+ ]
6
22
} )
You can’t perform that action at this time.
0 commit comments