From 5a2b49900187f836822694df6f476f696d183e83 Mon Sep 17 00:00:00 2001 From: Jakub Knetl Date: Wed, 27 Dec 2023 07:35:47 +0100 Subject: [PATCH] Chapter 2 - add global CSS styles with tailwind to root layout --- app/layout.tsx | 2 ++ app/page.tsx | 7 ++++--- package-lock.json | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 225b603..c1b7464 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,3 +1,5 @@ +import '@/app/ui/global.css'; + export default function RootLayout({ children, }: { diff --git a/app/page.tsx b/app/page.tsx index 8e0184f..e0fc546 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -10,6 +10,7 @@ export default function Page() {
+

Welcome to Acme. This is the example for the{' '} @@ -18,10 +19,10 @@ export default function Page() { , brought to you by Vercel.

- Log in + Log in
diff --git a/package-lock.json b/package-lock.json index 64273d0..43432d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "nextjs-dashboard2", + "name": "nextjs-dashboard", "lockfileVersion": 3, "requires": true, "packages": {