You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running nuxt with the command npm run dev and when I refresh the page sometimes I see that there is what I expect and other times the values don't make sense. For example if I have some articles in the content directory and I am on article b.md. I would expect for prev to see a.md and for next c.md. This occasionally occurs but other times you might see d.md for the next value and I don't understand why there is this inconsistency.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
findSurroundand I keep getting back strange[prev, next]values that don't make any sense.I have the following code
I am running nuxt with the command
npm run devand when I refresh the page sometimes I see that there is what I expect and other times the values don't make sense. For example if I have some articles in the content directory and I am on articleb.md. I would expect forprevto seea.mdand for nextc.md. This occasionally occurs but other times you might seed.mdfor the next value and I don't understand why there is this inconsistency.a.mdb.mdc.mdd.mdBeta Was this translation helpful? Give feedback.
All reactions