Przeglądaj źródła

Add basic example script

Alasdair Smith 8 lat temu
rodzic
commit
4642d55b7b

+ 1 - 0
services/web/package.json

@@ -30,6 +30,7 @@
     "bcrypt": "1.0.1",
     "body-parser": "^1.13.1",
     "bufferedstream": "1.6.0",
+    "codemirror": "^5.33.0",
     "connect-redis": "^3.1.0",
     "contentful": "^3.3.14",
     "cookie": "^0.2.3",

+ 3 - 0
services/web/public/frontend/rich-text.js

@@ -0,0 +1,3 @@
+import { CodeMirror } from 'codemirror'
+
+console.log('hello from rich text and codemirror')