Nuxt
Use Echo Editor in a Nuxt 3 / Nuxt 4 application.
Echo Editor is a browser component (it needs the DOM for ProseMirror), so render it on the client.
Install
Add the styles
nuxt.config.ts
Create a client-only component
Name the file with a .client.vue suffix, or wrap the editor in <ClientOnly>:
components/RichEditor.client.vue
Use it
pages/index.vue
Rendering stored content on the server
To display saved documents during SSR (for SEO or a read-only view) you do not need the editor. Render the stored HTML inside an element with the EchoContentView class so it gets the editor's typography:
Always sanitize user-generated HTML on the server (for example with DOMPurify or sanitize-html) before rendering it with v-html.
Colour mode
Pass Nuxt's colour mode to the editor so it follows your site theme: