How to redirect every route in my nuxt js app to an error page if the backend API is down?

后端 未结 0 1772
温柔的废话
温柔的废话 2020-12-06 07:25

Hi I\'m wondering how I make my nuxt JS app redirect every route into an error page if my API is down.

Currently I\'m using this method

async asyncData         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题