A Svelte implementation of the iTwin Viewer. Created with SvelteKit.
pnpm install
at the root of the repo.pnpm build
at the root of the repo..env
file under packages/svelte-viewer/
and name it .env.local
. Fill in the missing variables. At a minimum, all auth client information as well as an iTwinId and iModelId are required to run the application. If you do not already have an iTwin application client id, you can obtain one here.pnpm start
at the root of the repo. The application will automatically reload if you change any of the source files.http://localhost:3000
in your browser.