Reputation: 467
Imagine the following scenario:
I would like the user to be able to go to e.g. wwww.mywebapp.com
and then either log into my non-static react web-app, OR click on blog
and read my (static) gatsbyjs blog.
Is there a way for me to do this / combine the two? Or might I be better off using serverside rendering?
Upvotes: 2
Views: 632
Reputation: 1
We can do that by modifying public(build) folder , package.json and gatsby.config....
Tutorial :- https://www.youtube.com/watch?v=5rUNlYs6wu4
Code :- https://github.com/benawad/gatsby-cra-combo
Hope this will also help !!!
Upvotes: 0