When I deploy the project to a subdirectory,js and css do not load

loading html

Hello there and welcome to the forum. You likely need to set routerBasename in the config file and PUBLIC_URL accordingly.

Hope this helps.