“Inclua React em HTML” Respostas de código

Inclua React em HTML

<!-- ... autres contenus HTML ... -->

  <!-- Charge React -->
  <!-- Remarque : pour le déploiement, remplacez "development.js"
       par "production.min.js" -->
  <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>

  <!-- Charge notre composant React -->
  <script src="like_button.js"></script>
</body>
Yasha

Inclua React em HTML

<!-- ... autres contenus HTML ... -->

  <!-- Charge React -->
  <!-- Remarque : pour le déploiement, remplacez "development.js"
       par "production.min.js" -->
  <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>

  <!-- Charge notre composant React -->
  <script src="like_button.js"></script>
</body>
Yasha

Respostas semelhantes a “Inclua React em HTML”

Perguntas semelhantes a “Inclua React em HTML”

Mais respostas relacionadas para “Inclua React em HTML” em HTML

Procure respostas de código populares por idioma

Procurar outros idiomas de código