File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 9
9
"vue-router" : " ^4.5.0"
10
10
},
11
11
"devDependencies" : {
12
- "@types/express" : " ^4.17.21 " ,
12
+ "@types/express" : " ^5.0.1 " ,
13
13
"@types/node" : " latest" ,
14
- "@vitejs/plugin-vue" : " latest " ,
15
- "@vitejs/plugin-vue-jsx" : " latest " ,
16
- "express" : " ^4.21.2 " ,
17
- "vite" : " latest "
14
+ "@vitejs/plugin-vue" : " ^5.2.3 " ,
15
+ "@vitejs/plugin-vue-jsx" : " ^4.1.2 " ,
16
+ "express" : " ^5.1.0 " ,
17
+ "vite" : " ^6.2.4 "
18
18
}
19
19
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const vite = await createServer({
24
24
// use vite's connect instance as middleware
25
25
app . use ( vite . middlewares ) ;
26
26
27
- app . use ( '*' , async ( req , res ) => {
27
+ app . use ( '*splat ' , async ( req , res ) => {
28
28
try {
29
29
const url = req . originalUrl || req . url ;
30
30
const template = await vite . transformIndexHtml ( url , fs . readFileSync ( path . resolve ( 'index.html' ) , 'utf-8' ) ) ;
You can’t perform that action at this time.
0 commit comments