Skip to content

Cannot get external JS file to work with Gatsby site #27611

Answered by herecydev
austinmdem asked this question in Help
Discussion options

You must be logged in to vote

You can use onRouteUpdate to trigger some javascript when a page is changed. You should be able to call whatever you need from there.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by austinmdem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #27611 on October 23, 2020 07:19.