Nex Zhu
Nex Zhu
@selfrefactor TypeScript typing seems to be outdated: ```ts /** * It returns `true`, if all functions of `predicates` return `true`, when `input` is their argument. */ export function allPass(predicates: ((x:...
@selfrefactor I mean the typing is not correct, the predicates functions only accept one argument, maybe it should be: ```ts export function allPass(predicates: ((...args: T) => boolean)[]): (...inputs: T) =>...
Did a quick search and found some libraries, haven't tried yet: https://github.com/aholstenson/transitory https://github.com/tinovyatkin/tlru https://github.com/rafikalid/lru-ttl-cache
@CarterGrimmeisen Same problem here, hope this get merged
@CarterGrimmeisen Hope this get merged so we can use the generated code in the frontend as well.
> Hi @pmq20 - I wanted to ping here to check if everything is fine with you and if it is going to be possible for you to look into...
@paulbdavis Have you made any progress? Will appreciate if you publish it.
Adding this made it work: ```ts build: { transpile: [ // https://github.com/element-plus/element-plus-nuxt-starter/blob/44644788ee0d2a2580769769f9885b5cd9f7c0ab/nuxt.config.ts#L27 ...(lifecycle === 'build' || lifecycle === 'generate' ? ['element-plus'] : []), // For importing 'element-plus/es/components/xxx/style/css' to work 'element-plus/es',...
Or alternatively, you can set `ssr: true` for ElementPlusResolver ```ts ElementPlusResolver({ ssr: true }) ``` See: https://github.com/antfu/vite-ssg/issues/171#issuecomment-1151963829