【Nuxt.js】エラーページへ遷移させる方法
this.$nuxt.error();
- 引数として、
statusCode
とmessage
を指定することが出来る。
this.$nuxt.error({ statusCode: 404, message: 'エラーが発生しました。', });
this.$nuxt.error();
statusCode
とmessage
を指定することが出来る。this.$nuxt.error({ statusCode: 404, message: 'エラーが発生しました。', });