I understand the issues with static site relates to ‘npm run build’ and ‘publish directory’- how to create the build script and how to set ‘publish directory’ ‘./’, is it going to be manually done in setting of render dashboard? Also I have set Build Command in the settings ‘npm run build’.
2.what will be the file structure push to github repository for static site? as i have above mentioned files
My code IDE ‘pycharm’ terminal does not recognize ‘npm’- should I install node.js? and initiate ‘npm init’ then ‘npm run build’ in my IDE then, push to github repository the codes. and then link github to render?
What should be the file created in local directory after running in the terminal ‘npm init’ and ‘npm run build’?