Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Click events don't work #31

Open
ghost opened this issue Nov 14, 2017 · 2 comments
Open

Click events don't work #31

ghost opened this issue Nov 14, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 14, 2017

I've checked out your source, installed latest nodes and yarn and exported the static site, which resulted in a great looking website, but the click events don't work.

Is there something I've missed?

@ghost
Copy link
Author

ghost commented Nov 14, 2017

I recently experienced the click event's are only working if I run yarn with yarn dev?

@drkatnz
Copy link

drkatnz commented Mar 22, 2018

The static file creation adds some leading slashes to the javascript links e.g. href="/_next - if you remove all 6 of these leading slashes from index.html (so it's href="_next ) then the static site will work just fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant