Skip to content

Commit 5f970bc

Browse files
committed
fix(Pages): Replace deprecated config values
1 parent 25cefb5 commit 5f970bc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,10 @@ export default defineConfig({
105105
}),
106106
Pages({
107107
// pagesDir: ['src/pages', 'src/pages2'],
108-
pagesDir: [
108+
dirs: [
109109
{ dir: 'src/pages', baseRoute: '' },
110110
],
111111
extensions: ['vue', 'md'],
112-
syncIndex: true,
113-
replaceSquareBrackets: true,
114112
extendRoute(route) {
115113
if (route.name === 'about')
116114
route.props = route => ({ query: route.query.q })

0 commit comments

Comments
 (0)