added loading spinner and made new view the main recipe view
This commit is contained in:
17
vue/src/components/LoadingSpinner.vue
Normal file
17
vue/src/components/LoadingSpinner.vue
Normal file
@ -0,0 +1,17 @@
|
||||
<template>
|
||||
<div class="row">
|
||||
<div class="col" style="text-align: center">
|
||||
<i class="fas fa-spinner fa-spin fa-10x"></i>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
name: 'LoadingSpinner',
|
||||
props: {
|
||||
recipe: Object,
|
||||
},
|
||||
}
|
||||
</script>
|
Reference in New Issue
Block a user