mirror of
https://github.com/romancm/gamebrary
synced 2024-11-14 23:47:08 +00:00
Added toast component globally
This commit is contained in:
parent
83de5cbf08
commit
fe33e38c1f
1 changed files with 4 additions and 0 deletions
|
@ -5,11 +5,14 @@
|
|||
<main :class="{ 'logged-in': user && !isPublic }">
|
||||
<router-view />
|
||||
</main>
|
||||
|
||||
<toast />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import NavHeader from '@/components/NavHeader/NavHeader';
|
||||
import Toast from '@/components/Toast/Toast';
|
||||
import firebase from 'firebase/app';
|
||||
import { $error } from '@/shared/modals';
|
||||
import 'firebase/auth';
|
||||
|
@ -36,6 +39,7 @@ export default {
|
|||
|
||||
components: {
|
||||
NavHeader,
|
||||
Toast,
|
||||
},
|
||||
|
||||
computed: {
|
||||
|
|
Loading…
Reference in a new issue