simple-code-editor icon indicating copy to clipboard operation
simple-code-editor copied to clipboard

nuxt 3 error import

Open javascriptninjazxc opened this issue 2 years ago • 1 comments

If import simple-code-editor, throw error: Cannot read properties of undefined (reading 'disabled')

Help me pls

javascriptninjazxc avatar Jun 30 '23 15:06 javascriptninjazxc

It's likely you're Nuxt app is attempting to render the component on the server with SSR. Wrap the component in <ClientOnly>.

philliphartin avatar Jan 26 '24 06:01 philliphartin