We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66508cc commit 117ea76Copy full SHA for 117ea76
playground/ssr-vue/server.js
@@ -37,7 +37,7 @@ export async function createServer(
37
root,
38
logLevel: isTest ? 'error' : 'info',
39
server: {
40
- middlewareMode: 'ssr',
+ middlewareMode: true,
41
watch: {
42
// During tests we edit the files too fast and sometimes chokidar
43
// misses change events, so enforce polling for consistency
@@ -47,7 +47,8 @@ export async function createServer(
47
hmr: {
48
port: hmrPort
49
}
50
- }
+ },
51
+ appType: 'custom'
52
})
53
// use vite's connect instance as middleware
54
app.use(vite.middlewares)
0 commit comments