Add wiki back#268
Conversation
|
Tracked down the issue, the router on this line doesn't has a push method. |
|
I tried finding what you would use instead but it seems that it should be |
|
Nuxt is using Vue Router so there must be an internal method we can use. Using the browser methods will force a page reload which is not what we want (I realise now that I was doing this previously and is not the best method). |
|
Ok, I think I got it tracked down, this is only called client-side, but not server-side. |
|
We might be able to use a middleware, but I don't think we can run the method from one |
|
I think I got it. It are the |
|
Oh, that's called "optional chaining", it's only supported in Node version 14 so you will need to update your Node by the sounds of it. |
|
Applying @babel/plugin-proposal-optional-chaining seems to fix the the issue. |
|
Ok, so I think I got a (half) working thing (finally! 🎉). I query the raw contents of the files from GitHub periodically in a server middleware. |
|
Superseded by #283 |


Add the wiki back. Links on the sidebar don't "load" the page, so don't merge this in yet.