Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

85
Views
Import external static liquid.html file into react

I have this below file saved as bbox.liquid.html in my public folder.

File : https://github.com/aws-samples/amazon-sagemaker-ground-truth-task-uis/blob/master/images/bounding-box.liquid.html

My goal is to either import the file as react component or redirect to the page and show it to user.

Method 1. import the file as react component

I tried this all answers, but its not working.

Method 2. redirect to the page

I tried to redirect it using router in app.js, after clicking it I see a empty page.

<Routes>
 <Route exact path="/" element={<Home />} />
 <Route path="/about" element={<About/>} />        
 <Route path="/bbox/" element={<Navigate to = {"/bbox.html"} replace />} />
</Routes>

[info] index.tsx:30 No routes matched location "/bbox.html"

Note: once after a reload it shows the expected page.

It would be great I get any working mechanism for method 1

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!