+Vuex +ElementUI +Pug

- Log on now works, storing user profile in vuex state
- Templates in Pug = awesome
This commit is contained in:
Daniel J. Summers committed 2017-08-05 22:48:09 -05:00
1 parent 338f11d1ab
commit 196db30cc5
13 files changed
+506 -122

No files matched your search

+2 -5
View File
@@ -1,14 +1,11 @@
<template>
<h2 v-if="!hideOnPage" class="mpj-page-title" v-html="title"></h2>
<template lang="pug">
h2.mpj-page-title(v-if="!hideOnPage" v-html="title")
</template>
<script>
export default {
name: 'page-title',
props: ['title', 'hideOnPage'],
data () {
return {}
},
created () {
document.title = `${this.title} « myPrayerJournal`
},