Let caller control whether app footer is shown

This commit is contained in:
Lance Edgar 2020-02-10 16:31:19 -06:00
parent 3d89cffa65
commit f0d94cf06b

View file

@ -8,7 +8,8 @@
<router-view />
</div>
</div>
<footer class="footer">
<footer v-if="includeFooter"
class="footer">
<slot name="footer">
<router-link to="/about">{{ appsettings.appTitle }} {{ appsettings.version }}</router-link>
</slot>
@ -21,6 +22,10 @@ export default {
name: 'ByjoveApp',
props: {
appsettings: Object,
includeFooter: {
type: Boolean,
default: true,
},
},
beforeCreate: function() {