This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/layouts/default.vue

33 lines
704 B
Vue
Raw Normal View History

2020-07-22 13:19:23 -07:00
<template>
<div class="d-flex flex-column vh-100">
<div class="flex-grow-1">
2020-09-23 11:34:35 -07:00
<Header/>
2020-07-22 13:19:23 -07:00
<Nuxt/>
<ScrollButton/>
2020-07-22 13:19:23 -07:00
</div>
2020-11-29 02:03:01 -08:00
<div>
2020-07-22 13:19:23 -07:00
<Footer/>
</div>
2020-10-24 13:32:12 -07:00
<Confirm ref="confirm"/>
2021-01-06 06:21:20 -08:00
<Lightbox/>
2020-07-22 13:19:23 -07:00
</div>
</template>
2020-10-24 13:32:12 -07:00
<script>
import Vue from 'vue';
export default {
mounted() {
Vue.prototype.$confirm = (message, color='primary') => {
return new Promise((resolve, reject) => {
this.$refs.confirm.show(message, color, resolve, reject);
});
};
}
}
</script>
2020-07-22 13:19:23 -07:00
<style lang="scss">
@import "assets/style";
</style>