Javascript does not work on github pages

Asked

Viewed 142 times

-3

1 answer

0


Apparently you have done almost everything necessary, try this in your package.json

"scripts": {
 ...
 "predeploy": "yarn build",
 "deploy": "gh-pages -d build"
}

then rotate yarn run deploy, I don’t understand why the src/index.html, to deploy?

Browser other questions tagged

You are not signed in. Login or sign up in order to post.