getInitialProps should be the way I think. Catch it in App's getInitialProps (which calls page's getInitialProps) and pass it down to render ...
確定! 回上一頁