sherry

Results 15 comments of sherry

我是这样的,看完解析,才恍然觉得我好像以前记过这个啊!!

well, i've had this problem too before. You should check the version of your cypress, and upgrade it to the latest one

而且这个 Outlet 组件感觉也不起作用

> > 而且这个 Outlet 组件感觉也不起作用 > > 去掉约定式路由,就可以支持。 > > * `.umirc.ts` > `{ path: '/ui', component: 'ui', routes: [ { path: '/ui/button', component: 'ui/button', }, ] }` > *...

> > 而且这个 Outlet 组件感觉也不起作用 > > 去掉约定式路由,就可以支持。 > > * `.umirc.ts` > `{ path: '/ui', component: 'ui', routes: [ { path: '/ui/button', component: 'ui/button', }, ] }` > *...

> 现在没有 `_layout` 了,你需要的可能是: > > ```ts > ./src/pages > ├── nested > │ └── a.tsx > └── nested.tsx > ``` > > ```ts > // nested.tsx > > import...

> 好的,我试试哦,非常感谢!

以下是报错 ![image](https://user-images.githubusercontent.com/5960194/183849825-c48fa8c9-621a-4b04-96fe-e03c2b21da6d.png) 我的目录结构如下: ![image](https://user-images.githubusercontent.com/5960194/183850006-a018ef7c-ce7b-4d4c-9fff-acee40bb5f40.png) 另外,我还想问一下,如上所示的目录,如果我想要 `projects` 目录下的三个文件 `metadata`| `resources` | `roles` 都能有一个一样的 layout 文件,应该要怎么做呢

> 以下是报错 ![image](https://user-images.githubusercontent.com/5960194/183849825-c48fa8c9-621a-4b04-96fe-e03c2b21da6d.png) > > 我的目录结构如下: ![image](https://user-images.githubusercontent.com/5960194/183850006-a018ef7c-ce7b-4d4c-9fff-acee40bb5f40.png) > > 另外,我还想问一下,如上所示的目录,如果我想要 `projects` 目录下的三个文件 `metadata`| `resources` | `roles` 都能有一个一样的 layout 文件,应该要怎么做呢 repo 我后面有时间了整一个; 请问第二个问题:「如果我想要 `projects` 目录下的三个文件 `metadata`| `resources` | `roles` 都能有一个一样的 layout...