Conversion to cards (bootstrap) complete

Also:
- Multi-line requests now preserve line breaks (#7)
- Have one instance of vue-toast; access via $parent for main page
components, pass to child components
This commit is contained in:
Daniel J. Summers
2017-09-30 12:36:57 -05:00
parent ef88964cd0
commit 834eaf2416
6 changed files with 94 additions and 80 deletions

View File

@@ -4,6 +4,7 @@
#content.container
router-view
vue-progress-bar
toast(ref='toast')
footer
p.text-right: i myPrayerJournal v0.8.1
</template>
@@ -17,6 +18,14 @@ export default {
name: 'app',
components: {
Navigation
},
mounted () {
this.$refs.toast.setOptions({ position: 'bottom right' })
},
computed: {
toast () {
return this.$refs.toast
}
}
}
</script>