Use React Router - direct all non /api urls to index.html

6 views
Skip to first unread message

Michael Clark

unread,
Nov 20, 2020, 2:41:16 AM11/20/20
to Grape Framework Discussion
How can I use React Router with Grape?

It looks like I would edit Acme -> App -> initialize -> @rack_static.urls

I can't get anything to work or find anything online, so thanks in advance for any help!

Daniel D.

unread,
Nov 20, 2020, 9:15:03 AM11/20/20
to Grape Framework Discussion
Can you try and be more specific about "can't get anything to work"? Maybe put a sample app up on github with a failing test so people have something to try out to help you?

--
You received this message because you are subscribed to the Google Groups "Grape Framework Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-grape+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ruby-grape/252cfbd8-ae2a-45da-b1f0-97dedbb8950an%40googlegroups.com.


--
Reply all
Reply to author
Forward
0 new messages