import { GetServerSideProps } from "next" ; const ServerPage = ( props ) => { return < div > Server { props . name } < /div>; } ; export default ServerPage ; export const getServerSideProps = async ( ctx ) => { return { props : { name : "Luiz Carlos" , } , } ; } ;