diff --git a/package.json b/package.json index db12042..a6059d4 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "test": "mocha ./src/**/*.test.js" }, "type": "module", + "module": "./public/build/jsoneditor.mjs", "dependencies": { "@fortawesome/free-regular-svg-icons": "5.13.0", "@fortawesome/free-solid-svg-icons": "5.13.0", diff --git a/public/examples/01_basic_usage.html b/public/examples/01_basic_usage.html new file mode 100644 index 0000000..220cef4 --- /dev/null +++ b/public/examples/01_basic_usage.html @@ -0,0 +1,52 @@ + + +
+ + ++ + +
+ + + + + diff --git a/public/index.html b/public/index.html index 9b701bf..c5d4c2e 100644 --- a/public/index.html +++ b/public/index.html @@ -6,11 +6,140 @@+ + + +
+ +