mirror of
https://github.com/storytold/spark.git
synced 2026-10-09 00:09:53 +00:00
Change importmaps from sparkjs-dev to sparkjsdev
This commit is contained in:
@@ -179,13 +179,13 @@
|
||||
"imports": {
|
||||
"three": "/examples/js/vendor/three/build/three.module.js",
|
||||
"three/addons/": "/examples/js/vendor/three/examples/jsm/",
|
||||
"@sparkjs-dev/spark": "/dist/spark.module.js"
|
||||
"@sparkjsdev/spark": "/dist/spark.module.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script type="module">
|
||||
import * as THREE from "three";
|
||||
import { SplatMesh, transcodeSpz } from "@sparkjs-dev/spark";
|
||||
import { SplatMesh, transcodeSpz } from "@sparkjsdev/spark";
|
||||
import { OrbitControls } from "three/addons/controls/OrbitControls.js";
|
||||
|
||||
const sparkCanvasEl = document.querySelector(".spark-canvas");
|
||||
|
||||
Reference in New Issue
Block a user