From bfc0f41e82da44e0134190329e942a171891c3b2 Mon Sep 17 00:00:00 2001 From: Paul Elliott Date: Mon, 10 Jun 2024 15:22:10 -0400 Subject: [PATCH] Integrate itk-viewer-2d component --- app/routes/_index.tsx | 4 + app/viewer.client.tsx | 42 + app/viewer.tsx | 16 + package-lock.json | 3366 ++++++++++++++++++++++++++++++++++++++--- package.json | 9 +- vite.config.ts | 14 + 6 files changed, 3254 insertions(+), 197 deletions(-) create mode 100644 app/viewer.client.tsx create mode 100644 app/viewer.tsx diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 2c704ec..cf88978 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -1,4 +1,5 @@ import type { MetaFunction } from "@remix-run/node"; +import { Viewer } from "../viewer.js"; export const meta: MetaFunction = () => { return [ @@ -10,6 +11,9 @@ export const meta: MetaFunction = () => { export default function Index() { return (
+
+ +

Welcome to Remix