I'm struggling to upgrade from CodeMirror 5.5 to CodeMirror 6.
Previous versions of CM have always been a drop-in Javascript library. Upload the JS files, upload the CSS file, include a <script>
tag referencing the JS file, and then use the API to make a bunch of calls to incorporate it into your web app.
This latest version of CM is still an early prototype. I'm trying to follow the instructions in its Github repo but I'm thoroughly confused.
So far I was able to do npm run dev
and I'm able to get a test page that works fine and all, but how do I translate that to incorporating it in my own web app?