$ 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. Since the prosemirror libraries all provide es modules then tree shaking with rollup and webpack means that the compiled code only picks out what is used.
This library is a required peer dependency when using remirror in your codebase. While you may never need to use it directly, the following code is an example of how you could potentially consume it.
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';
And that is'
This package was bootstrapped with monots.
© 2010 - cnpmjs.org x YWFE | Home | YWFE