ahh ok, thought that was odd, have you declared you gltf loader at all or as the same “const loader” as the draco one? try your loaders setup like this…
const gltfLoader = new GLTFLoader();
const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( '../vendor/draco/' );
gltfLoader.setDRACOLoader( dracoLoader );
gltfLoader.load('models/'Draco.gltf', function (gltf) {
gltf.scene.traverse(function (child) {
if (child.isMesh) {
// do stuff with meshes.....
}
});
scene.add(gltf.scene);
}