update: vuejs-templates/webpack to v1.3.1

This commit is contained in:
xidedix
2018-04-05 18:59:29 +02:00
parent 6de23dce60
commit 123737e20c
78 changed files with 3075 additions and 2025 deletions
+24 -24
View File
@@ -6,30 +6,30 @@
</template>
<script>
export default {
name: 'AppHeader',
props: {
fixed: {
type: Boolean,
default: false
}
},
computed: {
classList () {
return [
'app-header',
'navbar'
]
}
},
mounted: function () {
this.isFixed(this.fixed)
},
methods: {
isFixed (fixed) {
fixed ? document.body.classList.add('header-fixed') : document.body.classList.remove('header-fixed')
return fixed
}
export default {
name: 'AppHeader',
props: {
fixed: {
type: Boolean,
default: false
}
},
computed: {
classList () {
return [
'app-header',
'navbar'
]
}
},
mounted: function () {
this.isFixed(this.fixed)
},
methods: {
isFixed (fixed) {
fixed ? document.body.classList.add('header-fixed') : document.body.classList.remove('header-fixed')
return fixed
}
}
}
</script>
+13 -14
View File
@@ -14,21 +14,20 @@
</b-nav-item-dropdown>
</template>
<script>
export default {
name: 'HeaderDropdown',
props: {
right: {
type: Boolean,
default: false
},
noCaret: {
type: Boolean,
default: false
}
export default {
name: 'HeaderDropdown',
props: {
right: {
type: Boolean,
default: false
},
data: () => {
return { itemsCount: 42 }
noCaret: {
type: Boolean,
default: false
}
},
data: () => {
return { itemsCount: 42 }
}
}
</script>