Let caller control whether app footer is shown
This commit is contained in:
parent
3d89cffa65
commit
f0d94cf06b
|
@ -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() {
|
||||
|
||||
|
|
Loading…
Reference in a new issue