Reactjs – Read .html files from the next.js react public/assets and format it with tailwind.css
I'm learning next.js with React with tailwind css and was looking to read html static files from the public/assets folder: import React from 'react'; import fs from 'node:fs'; import parse from 'node-html-parser'; const HTMLComponent = ({ filename } : string)…