@anjunar/scalajs-lexical
v1.0.8
Published
NPM companion package for scalajs-lexical: Lexical and CodeMirror runtime dependencies plus default CSS.
Downloads
399
Readme
@anjunar/scalajs-lexical
NPM companion package for the Maven artifact com.anjunar::scalajs-lexical.
This package provides:
- Lexical runtime packages used by the Scala.js facades
- CodeMirror runtime packages used by the optional code block integration
- the default
scalajs-lexicalCSS
Install it next to the Scala.js dependency:
npm install @anjunar/scalajs-lexicalImport the shared Anjunar UI grammar once in your application stylesheet, then import the Lexical package CSS from your Vite entrypoint:
@import "tailwindcss";
@import "@anjunar/ui";import '@anjunar/scalajs-lexical/index.css'
import 'scalajs:main.js'Or import the package root if you want the default CSS side effect:
import '@anjunar/scalajs-lexical'