Vadim Kostin

Results 27 comments of Vadim Kostin

Thanks, but what is `createOperationsGenerator`? How does this function look like?

I found ``` import { createOperationsGenerator } from '@nuxt/image/dist/runtime/utils/index'; ```

Update for nuxt 3: create-hmac doesnt work fine with vite, thats why easiest way it is create-hmac → hash.js ```typescript function sign(salt: string, target: string, secret: string) { const hmac...

Full version of imageproxy provider for nuxt3 and nuxt/image v1 ```typescript import { joinURL } from "ufo"; import { createOperationsGenerator } from "@nuxt/image-edge/dist/runtime/utils/index"; import { ProviderGetImage } from "@nuxt/image-edge"; import...

Hi! @casualmatt Add this file to any directory and add this configuration to nuxt.config.ts ``` image: { providers: { imgproxy: { name: "imgproxy", provider: "~~/utils/nuxt-image/imgproxy.provider", options: { imgProxyUrl: ..., imgProxyKey:...

@Sevochka it is just my simple utils for working with env variables. May be is not great, because I am using this code from my nuxt 2 codebase. ```typescript export...