Kenny Ki

Results 5 comments of Kenny Ki

For Nuxt, create a [middleware](https://nuxtjs.org/docs/directory-structure/middleware#router-middleware) to call `$recaptcha.destroy` either on every route change or on the pages with recaptcha: ``` // middleware/recaptcha.js export default function ({ app }) { app.$recaptcha.destroy()...

Have you tried it out? Because if pugjs can produce HTML content with the correct tag, the extractor should be able to pick it up.

As far as I remember, I tried including them in this package's `bower.json` but they got ignored in my main project. I'll verify the issue again.

@AgNm are you able to reproduce with any tracelog?

It's using either [canvas.toBlob](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toBlob) or [canvas.toDataURL](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/toDataURL) to generate the thumbnail. You can tweak the quality by passing in more options: ``` ThumbnailService.generate('src', { opts: { encoderOptions: 1 } }); ```...