Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

174
Vistas
how to add external jsx file in react js without using node js

I am trying to create a react app without node js so i downloaded these files (babel.min.js, react-dom.production.min.js, react.production.min.js) from their official source. when i use a script tag with type to text/babel to write react code it works fine. but when i am trying include external jsx file
<script src="./index.jsx" type="text/babel"></script>

it shows cross origin error
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///home/yash_lodhi/workshop/react/index.jsx. (Reason: CORS request not http).

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda