From 92a008bcaf3bab7ee52606635c83c4cb56a69da7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20P?= Date: Wed, 22 May 2024 17:43:28 +0200 Subject: [PATCH] Add importmap --- index.html | 8 ++++++++ main.js | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b8a6411..a8792df 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,14 @@ WebArchi + diff --git a/main.js b/main.js index c2c1e4e..190b8c4 100644 --- a/main.js +++ b/main.js @@ -1,5 +1,5 @@ -import * as THREE from './vendor/three/build/three.module.js'; -import * as OBC from './vendor/openbim-components/src/index.js'; +import * as THREE from 'three'; +import * as OBC from 'openbim-components'; document.addEventListener('DOMContentLoaded', () => { const container = document.querySelector('#scene');