Static GitHub Issues

[2646] npm generate creates a static page but onclick does not trigger

prev: How to handle a huge amount of posts/pages (1000+)
next: How to use js animation when the page is changing

Expected behavior: "Can you see me" button appears and hides when the "show/hide" button is pressed. Current behavior: The button does nothing when the "show/hide" button is clicked. Notes: The button appears and hides as expected when using npm run devor npm run build + npm run start I feel like I must be doing something silly or misunderstanding how nuxt works.

Example page: https://zurnaz.github.io/nuxt-example/ Repo: https://github.com/Zurnaz/nuxt-example

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2301">#c2301</a>)</em></sub></div>