Including Markdown Content in a Vue or Nuxt SPA - Vue.js Developers

Developers love to show off a solution they've come up with to solve a tricky problem (heck, I'm doing it right now). For that reason, you'll probably create a developer blog at some point in your career to showcase your favorite hacks.


This is a companion discussion topic for the original entry at https://vuejsdevelopers.com/2018/12/31/vue-nuxt-spa-markdown/

Hi Antony,
in
beforeRouteEnter(to) {
next(vm => {
return vm.articles.find(article => article.url === to);
});
}
how fallback to a 404 page?
You suggest return false if not found any article but not work…I believe why in next (vm => … the url is already confirmed.
Tks
G.