Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

error-page #51

Merged
merged 4 commits into from
Mar 18, 2019
Merged

error-page #51

merged 4 commits into from
Mar 18, 2019

Conversation

Fukusan64
Copy link
Contributor

汎用的なエラーページを作る

@Fukusan64
Copy link
Contributor Author

#50

@Fukusan64 Fukusan64 changed the title [WIP] error-page error-page Mar 16, 2019
@Fukusan64 Fukusan64 requested a review from gedorinku March 16, 2019 12:16
@Fukusan64 Fukusan64 changed the title error-page [WIP]error-page Mar 16, 2019
@Fukusan64
Copy link
Contributor Author

Fukusan64 commented Mar 16, 2019

cssまだ作ってなかった

@Fukusan64
Copy link
Contributor Author

<script>
import { mapActions } from 'vuex';

export default {
  methods: {
    ...mapActions('criticalError', ['createError']),
  },
  mounted() {
    this.createError({ number: 404, message: 'page not found' });
  },
};
</script>

とかすると使えます

@Fukusan64 Fukusan64 changed the title [WIP]error-page error-page Mar 17, 2019
Copy link
Member

@gedorinku gedorinku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@gedorinku gedorinku merged commit 6d66928 into master Mar 18, 2019
@gedorinku gedorinku deleted the error-page branch March 18, 2019 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants