Redwood: How to use Gatsby with Redwood in a monorepo setup?

Created on 30 Aug 2020  路  3Comments  路  Source: redwoodjs/redwood

For many reasons, including static site generation, automatic image optimization and i18n, I prefer to use Gatsby for my marketing / landing pages. (on example.com)

However I definitely want to use redwood for the app itself. (on app.example.com)

So I'm wondering what's the best setup here.

Should I just add another "side" to my redwood app and continue working with yarn workspaces?

- web
- app
- api
package.json

Or should I import the full redwood repo in a lerna configuration?

- web (gatsby)
- app (redwood)
   - api
   - webapp
   package.json
package.json

In either case, how do I deal with shared files like the tailwindcss theme etc.

Any guidance here would be greatly appreciated. Thanks

Most helpful comment

@freddydumont This is a great question! You might get more traction on the forums here: https://community.redwoodjs.com/

I've had success there asking these kind of architectural questions.

All 3 comments

@freddydumont This is a great question! You might get more traction on the forums here: https://community.redwoodjs.com/

I've had success there asking these kind of architectural questions.

Thanks @alvincrespo I'll try over there too

Hi all! I took a stab at an initial question to get the conversation rolling. Closing this out for now in favor of the forums. But please do re-open or ping us if conversation doesn't move forward.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

balaji-balu picture balaji-balu  路  3Comments

weaversam8 picture weaversam8  路  4Comments

peterp picture peterp  路  4Comments

thedavidprice picture thedavidprice  路  3Comments

peterp picture peterp  路  4Comments