Skip to content

Getting ERR_REQUIRE_ESM in SSR when using Quill #17814

Discussion options

You must be logged in to vote

quill is an ESM package, and you are most likely using app-vite v1 or app-webpack v3 (leaving it to us to guess rather than provide info). So, you are using CJS on the server and can't import ESM. So, depending on your possibilities, you can either wrap quill-related components in <q-no-ssr>, or upgrade to app-vite v2 / app-webpack v4 to be able to use ESM SSR.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yusufkandemir
Comment options

@lvshuang
Comment options

Answer selected by yusufkandemir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants