Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 581 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 581 Bytes

Convert all HTML files in a folder to React Function or Class Components

Features

  • Converts wow.js to ReactWOW
  • Closes unclosed html tags
  • Sets page title
  • Converts Images
  • Creates Folder structure
  • Handles assets (css, js)
  • Creates React + Vite project
  • Handles frontend routing
  • Comments out external javascript to make sure the app can work

Getting started

curl -o install.sh https://raw.githubusercontent.com/boyer-nicolas/html-to-jsx/main/install.sh
chmod +x install.sh
./install.sh
node migration.js <process?function,class>
cd vite
yarn dev