Skip to content

boyer-nicolas/html-to-jsx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published