mirror of
https://github.com/storytold/spark.git
synced 2026-10-13 23:52:44 +00:00
Fix import paths. sparkjs-dev to sparkjsdev
This commit is contained in:
@@ -18,13 +18,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 { SparkRenderer, SparkViewpoint, SplatMesh } from "@sparkjs-dev/spark";
|
||||
import { SparkRenderer, SparkViewpoint, SplatMesh } from "@sparkjsdev/spark";
|
||||
|
||||
import { GLTFLoader } from "three/addons/loaders/GLTFLoader.js";
|
||||
import { getAssetFileURL } from "/examples/js/get-asset-url.js";
|
||||
|
||||
Reference in New Issue
Block a user