pension-app/pages/_app.tsx

14 lines
360 B
TypeScript
Raw Normal View History

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