Installation
NPM Package
Section titled “NPM Package”yarn add molstaror
npm install molstarMol* code can then be imported from the molstar/lib/... namespace, e.g.
import { PluginContext } from 'molstar/lib/mol-plugin/context';Clone from GitHub
Section titled “Clone from GitHub”git clone https://github.com/molstar/molstar.gitcd molstarnpm installnpm run buildFor a watch task to automatically rebuild the source code on changes, run
npm run devor if working just with the Viewer app for better performance
npm run dev:viewer