pension-app/pages/_app.tsx

14 lines
360 B
TypeScript
Executable File

import "../styles/globals.css";
import "../styles/app.scss";
import type { AppProps } from "next/app";
import { useEffect } from "react";
function MyApp({ Component, pageProps }: AppProps) {
useEffect(() => {
require("../styles/argon-dashboard-2.0.4/assets/js/argon-dashboard");
}, []);
return <Component {...pageProps} />;
}
export default MyApp;