Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serve React App from subdirectory in the project! #46

Open
KGmajor opened this issue Aug 31, 2021 · 2 comments
Open

Serve React App from subdirectory in the project! #46

KGmajor opened this issue Aug 31, 2021 · 2 comments

Comments

@KGmajor
Copy link
Contributor

KGmajor commented Aug 31, 2021

I'd like to use the information from the topics yaml to serve on a static React site. In order to access the yaml, the React application should live in a subdirectory and access the same yaml as the posts that go to the community.

Describe the solution you'd like
Use create react app, but keep the react files serving from a subdirectory named react.

Additional context
We'll probably use a tool like render, vercel, or heroku to deploy the static page.

@mairagee524
Copy link

I may be able to take this on! From my understanding, I just need to create-react-app, right?

@KGmajor
Copy link
Contributor Author

KGmajor commented Aug 31, 2021

Yep @mairagee524! And make sure it's accessible and able to render from the subdirectory!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants