Skip to content

Commit

Permalink
fix($core): NotFound component doesn't work (close: #1130)
Browse files Browse the repository at this point in the history
BTW, load Layout component synchronously
  • Loading branch information
ulivz committed Dec 25, 2018
1 parent 06fb694 commit b562972
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
</template>

<script>
import Vue from 'vue'
import { getLayoutAsyncComponent } from '../util'
Vue.component('Layout', getLayoutAsyncComponent('Layout'))
Vue.component('NotFound', getLayoutAsyncComponent('NotFound'))
export default {
computed: {
layout () {
Expand Down

0 comments on commit b562972

Please sign in to comment.