Next.js Discord

Discord Forum

Deployment of simple page

Answered
Caya posted this in #help-forum
Open in Discord
So i'm build a project which i need a auth so i need a login and sign up page so for now i want to have a place holder
const LoginPage = () => {
  return (
    <div>LoginPage</div>
  )
}

simply like this same for signup page too
and for now i'm woring on other componet like landing page and navbar and all so which i pushed my code to guithub and tried to host the basic one i get this error

Type error: Page "app/(auth)/(routes)/login/page.tsx" does not match the required types of a Next.js Page.


so i'm confuned what am i missing right now
Answered by joulev
add export default LoginPage
View full answer

2 Replies