I am trying to add a web based ReactJS app using REMIX to a folder in my Apache server hosted on my Computer for my local network.
I am using TypeScript and Arch Linux (my systemctl service is called httpd.service)
I tried changing the package.json
to have "homepage": "my-app"
running npm run build
in my project directory and then copying the build folders contents to my servers folder, but that just showed a directory listing. And I also tried doing the same thing but having an index.html
file contianing:
<script src="/client/root-(all the random stuff).js"></script>
But it did not work.
Doggo4 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.