mirror of
https://github.com/Xevion/bus-reminder.git
synced 2025-12-16 00:11:16 -06:00
Setup tailwind css ^& frontend
This commit is contained in:
12
src/pages/_app.tsx
Normal file
12
src/pages/_app.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import {AppType} from "next/app";
|
||||
import "@/styles/globals.scss";
|
||||
|
||||
const MyApp: AppType = ({ Component, pageProps }) => {
|
||||
return (
|
||||
<>
|
||||
<Component {...pageProps} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default MyApp;
|
||||
13
src/pages/_document.tsx
Normal file
13
src/pages/_document.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import {Html, Head, Main, NextScript} from 'next/document'
|
||||
|
||||
export default function Document() {
|
||||
return (
|
||||
<Html className="h-full bg-gray-50">
|
||||
<Head/>
|
||||
<body className="h-full">
|
||||
<Main/>
|
||||
<NextScript/>
|
||||
</body>
|
||||
</Html>
|
||||
)
|
||||
}
|
||||
3
src/styles/globals.scss
Normal file
3
src/styles/globals.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
Reference in New Issue
Block a user