Skip to content

Commit 22d8375

Browse files
committed
fix: update postcss config to fix router scroll behavior
ref: vue-zone/vue3-vant-mobile#145
1 parent 7581d09 commit 22d8375

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

nuxt.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,11 @@ export default defineNuxtConfig({
3838
maxDisplayWidth: 600,
3939
// devtools excluded
4040
exclude: /@nuxt/,
41-
appContainingBlock: 'auto',
4241
border: true,
42+
rootContainingBlockSelectorList: [
43+
'van-tabbar',
44+
'van-popup',
45+
],
4346
},
4447
},
4548
},

0 commit comments

Comments
 (0)