Installation
Install the package and import the styles.
Install the package
Tiptap, ProseMirror and the UI primitives are regular dependencies and are installed automatically. They are not bundled into Echo Editor, so if your app already uses Tiptap 3 you get a single shared copy.
Import the styles
Import the stylesheet once, for example in main.ts:
main.ts
(Optional) register the component globally
main.ts
This registers <EchoEditor> (and the legacy <echo-editor> tag). You can also import EchoEditor directly where you use it — that is what the rest of these docs do.
Optional peer dependencies
Only install these when you use the matching feature:
| Feature | Packages |
|---|---|
| Collaboration | yjs, @tiptap/y-tiptap, @tiptap/extension-collaboration, @tiptap/extension-collaboration-caret and a provider such as y-websocket |
Package entry points
| Import | Contents |
|---|---|
vue-echo-editor | Component, extensions, composables, locales, plugin API |
vue-echo-editor/collaboration | CollaborationKit, CollaborationUsers, useCollaborationUsers |
vue-echo-editor/style.css | Editor styles (scoped to .echo-editor) |
Both ESM and CommonJS builds are published, with full TypeScript declarations.