chore: update vite.config.ts (#44)
This commit is contained in:
parent
1b72a16a90
commit
4c43315a4d
@ -20,11 +20,6 @@ const config: UserConfig = {
|
|||||||
|
|
||||||
// https://github.com/hannoeru/vite-plugin-pages
|
// https://github.com/hannoeru/vite-plugin-pages
|
||||||
Pages({
|
Pages({
|
||||||
// load index page sync and bundled with the landing page to improve first loading time.
|
|
||||||
// feel free to remove if you don't need it
|
|
||||||
importMode(path: string) {
|
|
||||||
return path === '/src/pages/index.vue' ? 'sync' : 'async'
|
|
||||||
},
|
|
||||||
extensions: ['vue', 'md'],
|
extensions: ['vue', 'md'],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user