How can I send 404 status code from my component or vuex store?



  • I make SSR application.

    My component gets some data from the remote API in preFetch() method. If API answers “not found” my component has to send 404 status code to the client. How can I do this behavior?


Log in to reply