uni-helper / vite-plugin-uni-layouts

为 Vite 下的 uni-app 提供类 nuxt 的 layouts 系统
MIT License
25 stars 6 forks source link

subPackages无效 #11

Closed QiYan925 closed 1 year ago

QiYan925 commented 1 year ago

描述问题

在 pages.json 中的subPackages配置layout无效

复现

"subPackages": [ { "root": "pages-sub", "pages": [ { "path": "test/test", "type": "page", "layout": "default" } ] } ]

系统信息

System:
    OS: macOS 13.3.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
    Memory: 394.70 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.5.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.13.2 - /usr/local/bin/npm
  Browsers:
    Safari: 16.4

使用的包管理器

npm

核对

KeJunMao commented 1 year ago

try 0.1.1