From b13047f440e7934d1083a8b2b6b820f78a545d98 Mon Sep 17 00:00:00 2001 From: afiqzudinhadi Date: Fri, 20 Jun 2025 17:43:56 +0800 Subject: [PATCH] chore: update import from package/ui --- apps/remix-template/app/root.tsx | 2 +- apps/remix-template/app/routes/_index.tsx | 32 +++++++++++------------ apps/remix-template/app/routes/shadcn.tsx | 6 ++--- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/apps/remix-template/app/root.tsx b/apps/remix-template/app/root.tsx index 9668686..aaf7c8c 100644 --- a/apps/remix-template/app/root.tsx +++ b/apps/remix-template/app/root.tsx @@ -7,7 +7,7 @@ import { } from "@remix-run/react"; import { Analytics } from "@vercel/analytics/react"; import "./styles.css"; -import "@repo/ui/src/styles/globals.css"; +import "@repo/ui/globals.css"; export function Layout({ children }: { children: React.ReactNode }) { return ( diff --git a/apps/remix-template/app/routes/_index.tsx b/apps/remix-template/app/routes/_index.tsx index 5b711e5..1a4a993 100644 --- a/apps/remix-template/app/routes/_index.tsx +++ b/apps/remix-template/app/routes/_index.tsx @@ -1,19 +1,19 @@ -import { CounterButton } from "@repo/ui/counter-button"; -import { Link } from "@repo/ui/link"; +import { CounterButton } from "@repo/ui/counter-button/index.mjs"; +import { Link } from "@repo/ui/link/index.mjs"; export default function Index() { - return ( -
-

- Blog
- Kitchen Sink -

- -

- Built With Turborepo - {" & "} - Remix -

-
- ); + return ( +
+

+ Blog
+ Kitchen Sink +

+ +

+ Built With Turborepo + {" & "} + Remix +

+
+ ); } diff --git a/apps/remix-template/app/routes/shadcn.tsx b/apps/remix-template/app/routes/shadcn.tsx index 92d4b44..20a19a1 100644 --- a/apps/remix-template/app/routes/shadcn.tsx +++ b/apps/remix-template/app/routes/shadcn.tsx @@ -1,11 +1,11 @@ -import { Button } from "@repo/ui/components/button"; +import { Button } from "@repo/ui/components/button.mjs"; import { Card, CardContent, CardHeader, CardTitle, -} from "@repo/ui/components/card"; -import { Link } from "@repo/ui/link"; +} from "@repo/ui/components/card.mjs"; +import { Link } from "@repo/ui/link/index.mjs"; export default function Index() { return (