Yuns

Results 199 comments of Yuns
trafficstars

> 目前没法replaceby多节点/多行代码,,建议换种思路试试 我说怎么一直返回 undefined…… 另外,empty/remove 等用起来也没用,实在不知道换什么方式

I will not ignore auto-imports.d.ts.

> > I'm having the same issue as well. How To set the behavior to stop using Async if that is what's causing the problem. > > You can put...

@Simon-He95 是可以自己处理的,但是就想你说的如果额外定义了组合键判断起来就很麻烦。我最初的想法是这样: ```ts const hotKeys = [ { keys: ['ctrl', 'c'], callback: () => {} }, { keys: ['c'], callback: () => {} }, ] // ... useKeyPress([hotKeys.map(item => item.keys)],...

能支持第二个入参挺好的,特别是这种场景

I use workaround for now by: ```js // tailwind.config.js { safelist: process.env.NODE_ENV === 'development' ? [{ pattern: /./ }] : [], } ```

@carlos-mta It's inevitable, but I think it is better than restart dev server frequently.

`vitApp` config should place in plugins. `resolve.alias` is Vite supported, not vitjs. On the other hand, you can try https://www.npmjs.com/package/vite-tsconfig-paths instead of manual configuration.

这是 pro-layout 的功能吧,我有空看看 😂