ZIM with Next.js

Had this question over on Slack.

Anton KotenkoAnton Kotenko 16 hours ago

Hello, I recently started learning Next.js and I want to add ZIM to a page via npm, but since Next.js renders the page on the server it doesn't know the browser APIs. If anyone knows and can help how to add ZIM Frame to a page in Next.js on the client side, I will be very grateful. And I think this example will be useful on github, in addition to React, Vue, Angular and Svelte GitHub - danzen/zimjs-templates: ZIM Templates for Vue, React, Angular and Svelte - in NPM.

@capi421 might have some ideas...

1 Like

Sorry, I asked it in Slack out of habit. :slight_smile:

1 Like