I'm sorry for even posting this, but I don't know how to ask this question otherwise since I'm a total novice on JS/React/Node/Babel/JSX.
How can I convert the react templates from the front
directory from this repo into the pure JS/HTML/CSS artifacts found in the public
folder?
Is this the correct approach? I've tried running Babel transpiler on the page.jsx
file but it didn't generate a file similar to public/script.min.js
.
Or another way to put it, is how can I generate public/script.min.js
from the assets found in the front
directory?
On every repository, you should find a package.json
file with script available to build your app. From what I can read in the respository package.json
, launch " npm run build " in a command line with the respository as root. Make sure you have nodeJS installed on your computer to launch npm
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.