reactpress icon indicating copy to clipboard operation
reactpress copied to clipboard

Next JS structure

Open MB-KING opened this issue 1 year ago • 2 comments

Please, please provide the possibility to use the project and build Next JS structure

MB-KING avatar Dec 04 '23 15:12 MB-KING

Can you tell me how this could work in a way that is beneficial for developers? Do you only want NextJS's structure or do you want to use SSR?

I thought about this, but I don't see would this work with NextJS routing, which is file-based.

rockiger avatar Dec 04 '23 22:12 rockiger

I don't mean server side rendering

Build Normal Next JS can be started and visible by its own commands, which I think is a difficult path to add.

But by changing the NextJS configuration, you can prepare a static output that is taken in the output build folder, which is the same as crate React app and vite.

https://nextjs.org/docs/pages/building-your-application/deploying/static-exports

@rockiger

MB-KING avatar Dec 05 '23 07:12 MB-KING