Wictor Wilen
  • About
  • Presentations
  • Series
  • Tags
  • Contact

Babel

Enjoy this set of post

How to add a React scripts to Hugo
Hugo

How to add a React scripts to Hugo

While migrating my site from Orchard to Hugo I wanted to add some JavaScripts. Specifically I wanted that to power the search experience using some simple JavaScripts. However, I’ve grown quite fond over using React (and TSX/JSX) to any kind of user experiences for the web and I did not want to go back to pure JavaScript or use some DOM manipulation scripts such as jQuery. Hugo, that I use for my static site, does not directly have support for transpiling React.

31 May 2020 • 3 min read
Wictor Wilen © 2004-2020
Latest Posts Twitter Github ISSN: 2001-6522 Microsoft MVP LinkedIn Feed/RSS