add: React Bootstrap Framework & Argon Dashboard 2
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
import '../styles/globals.css'
|
||||
import type { AppProps } from 'next/app'
|
||||
import "../styles/globals.css";
|
||||
import "../styles/app.scss";
|
||||
import type { AppProps } from "next/app";
|
||||
import { useEffect } from "react";
|
||||
|
||||
function MyApp({ Component, pageProps }: AppProps) {
|
||||
return <Component {...pageProps} />
|
||||
useEffect(() => {
|
||||
require("../styles/argon-dashboard-2.0.4/assets/js/argon-dashboard");
|
||||
}, []);
|
||||
return <Component {...pageProps} />;
|
||||
}
|
||||
|
||||
export default MyApp
|
||||
export default MyApp;
|
||||
|
14
pages/dashboard.tsx
Normal file
14
pages/dashboard.tsx
Normal file
@ -0,0 +1,14 @@
|
||||
import { NextPage } from "next";
|
||||
import { Navbar } from "react-bootstrap";
|
||||
|
||||
const DashBoard: NextPage = () => {
|
||||
return (
|
||||
<>
|
||||
<Navbar>
|
||||
<Navbar.Brand href="#home">My Website</Navbar.Brand>
|
||||
</Navbar>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default DashBoard;
|
Reference in New Issue
Block a user