itmanyong

Results 16 comments of itmanyong

当不设置插件的defaultLayout选项时,页面没有指定layout的值就不会使用layout ![image](https://user-images.githubusercontent.com/53500371/183245324-3a1b314f-0154-4ace-b4c5-4fbed3655e6d.png)

@yankeeinlondon hi! Has the layout of MD been supported? In my current situation, even if the layout is set, it is still the default layout!As follows, it was actually Deault...

期待早日可用生产

@hackyoMa @07akioni @Lsq128 可以自己定义resolver,例如下图一样,自定义匹配和导入规则 ![image](https://user-images.githubusercontent.com/53500371/178765215-60f7cfc6-94bf-415c-9063-e3c413163c25.png)

vuera好像维护者不准备推进了,可以切换为:[veaury](https://github.com/devilwjp/veaury)

如果你使用了vite-plugin-pages,我想[这个](https://github.com/hannoeru/vite-plugin-pages#extendroute)可以解决你的问题,而不是这个库

那就等待魂大的好消息了

> > 那个等待魂大的好消息了 > > `effectProps`最近有api满足观察道具变化的需求,互联网文档里写了,已经补上了,你可以看下 > > https://concentjs.github.io/concent-doc/api/ref-effect-props 可以,很nice。其实有一点不明白为什么依赖值必须是字符串,而不是和useEffect一样的引用设计

> 因为,useEffect 可以在函数组件每次一次渲染时都能被触发执行,只需要将相关依赖的最新值交给react即可,react内部会去和上一次记录的值做比较然后决定要不要执行effect cb,而 setup 函数里的所有逻辑只能执行一次,ctx.effectProps 方法的第二位参数负责传递字符串,然后 concent 内部通过字符串去取上一次props和最新props的值一一做比较然后决定要不要执行,如果像 useEffect那样传值的话是没有意义的啦(重点需要理解setup 函数里的所有逻辑只能执行一次这句话哈),不过下一个版本可以升级下 ctx.effectProps 函数,支持写 > > ctx.effectProps( effectCb, isPropsEqualCb ) 这样的方式,既可以让用户自己定制比较规则了,举例: > > ```js > ctx.effectProps(()=>{ > console.log(' triggerd! '); >...

Amazingly, the NButton on the login page can parse and display normally, but not here, tried various ways, only manual import can restore normal ![image](https://github.com/unplugin/unplugin-vue-components/assets/53500371/a8c367f0-feee-4c79-80f1-830310a8066e) ![image](https://github.com/unplugin/unplugin-vue-components/assets/53500371/ab7931bc-a338-4b49-b1e7-859e70775729) ![image](https://github.com/unplugin/unplugin-vue-components/assets/53500371/6c62c22b-f122-423c-9b86-5082900f863e) ![image](https://github.com/unplugin/unplugin-vue-components/assets/53500371/99d32e4a-3725-4557-8cf4-4ecb45944cc2)