0.0.12 • Published 1 year ago
jsm-editor v0.0.12
JSM Editor
A CLI tool for adding a lexical editor component to your project.
Installation
Install the package using npm:
npm i jsm-editor
Add editor Component
Use the add editor
command to add the Editor components, styles, and assets into your project.
npx jsm-editor add editor
Options
--componentPath, -c
: Specify the path to add the editor component. (Optional)--stylesPath, -s
: Specify the path to add the styles. (Optional)--assetsPath, -a
: Specify the path to add the assets. (Optional)
Example usage with options
npx jsm-editor add editor --componentPath=src/components --stylesPath=src/styles --assetsPath=src/assets