$ npm install @remirror/pm
All the bundled prosemirror dependencies which are required for the remirror core libraries.
yarn add @remirror/pm@next # yarn
pnpm add @remirror/pm@next # pnpm
npm install @remirror/pm@next # npm
This bundles up the prosemirror libraries into one package to make development and consumption of the remirror codebase simpler. All prosemirror libraries are available as es-modules which makes tree shaking with rollup, webpack and other build tools possible.
This library is a required peer dependency when using remirror in your codebase. You might never need to use it directly, but in case you do, here's a snippet of how to do so.
import { View } from '@remirror/pm/view';
import { EditorState } from '@remirror/pm/state';
import { Suggest } from '@remirror/pm/suggest';
// Top level (not recommended).
import { Node, Mark } from '@remirror/pm';
© 2010 - cnpmjs.org x YWFE | Home | YWFE