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

35 lines
787 B
Vue

<template>
<div class="d-flex flex-column vh-100">
<div class="flex-grow-1">
<Header/>
<main class="container">
<Nuxt/>
<ScrollButton/>
</main>
</div>
<div class="container">
<Footer/>
</div>
<Confirm ref="confirm"/>
<Lightbox/>
</div>
</template>
<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>
<style lang="scss">
@import "assets/style";
</style>