* feat: add nextjs app router support * chore: rename nextjs page router demo * feat: support nextjs app router with example * chore(proxy): bump to 0.4.0 * chore: update package-lock.json * chore: remove formidable * chore: update package-lock.json * fix: page export * fix: type issues * fix: remove comment * fix: eslint any warning * chore: client version bump 0.4.2
19 lines
364 B
TypeScript
19 lines
364 B
TypeScript
import { AppProps } from 'next/app';
|
|
import Head from 'next/head';
|
|
import './styles.css';
|
|
|
|
function CustomApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>Welcome to demo-app!</title>
|
|
</Head>
|
|
<main className="app dark">
|
|
<Component {...pageProps} />
|
|
</main>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default CustomApp;
|