ejs is not compiled to public folder. EJS is compiled and rendered at runtime. We bundle the React hydrate so that we can serve that with the rendered html. You can find it in webpack.config.js. You can refer to this repository. It contains frontend for a forum with the same concept. This will also give an idea how to serve CSS and other assets.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
may I know where is the part that compiles ejs to the public folder?
ejs is not compiled to public folder. EJS is compiled and rendered at runtime. We bundle the React hydrate so that we can serve that with the rendered html. You can find it in webpack.config.js. You can refer to this repository. It contains frontend for a forum with the same concept. This will also give an idea how to serve CSS and other assets.