feat: render app shell with ssr to improve loading experience (#448)
This commit is contained in:
parent
b545efeacc
commit
9395b7031e
35 changed files with 169 additions and 127 deletions
|
@ -9,6 +9,10 @@ export default defineConfig({
|
|||
'~/': `${resolve(__dirname)}/`,
|
||||
},
|
||||
},
|
||||
define: {
|
||||
'process.server': 'false',
|
||||
'process.client': 'true',
|
||||
},
|
||||
plugins: [
|
||||
Vue(),
|
||||
AutoImport({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue