I have an application which uses Google hosting. Prior to implementing dynamic routes I hosted it by executing next export and firebase deploy.
In my [id].js file I get data by using getServerSideProps and while executing next export I've got the next error:
pages with getServerSideProps can not be exported Read More.
And the solution is to "delete next export from package.json". But How can I host my app without next export ?