feat(pages): 不加route block 也会自动注册到页面

This commit is contained in:
Burt
2024-01-04 10:03:02 +08:00
parent a1d3cf3442
commit e6354bdade
3 changed files with 14 additions and 0 deletions

9
src/pages/demo/index.vue Normal file
View File

@@ -0,0 +1,9 @@
<template>
<view>
<view>demo</view>
<view>测试是否会自动引入到pages发现会</view>
<view>就是不加route-block也会自己引入到pages</view>
<view>得到类似如下的配置</view>
<view>{ "path": "pages/demo/index", "type": "page" },</view>
</view>
</template>