brianb
Issues with scrolling to hash
So I'm trying to have scroll on the same page to a hash / id similar to this:
In navbar I would have:
I have also tried:
And many other ways..
The actual link is there, but when clicked. it does not scroll at all nor change the view to the div with the id set. However, when I refresh it does scroll there and smoothly (I have already set router options to scroll smoothly
If I do it with <a> the view is changed, but no smooth scroll and I'd also prefer to use NuxtLink.
What could be the issue?
3 replies
WebSocket connection to 'ws://localhost:24678/_nuxt/' failed
Hey, I've just restarted working on my side project. Started a project from scratch, didn't change anything, and as soon as I visit localhost:3000 I just get the same error over and over.
I did it from scratch as I was having the same issue on an already existing project that I tried to upgrade to Nuxt latest version.
Starting a new Nuxt 3 project in Stackblitz is also not working and I am wondering if these are related to each other (https://stackblitz.com/github/nuxt/starter/tree/v3)
The errors I am getting in the browser console:
The piece of code in client.ts is:
10 replies