Upgrade to Vue CLI 3 / Webpack 4 (#22)

Fixes #19
This commit was merged in pull request #22.
This commit is contained in:
Daniel J. Summers
2018-08-21 20:39:41 -05:00
committed by GitHub
parent ee9326d7a5
commit 334710065c
43 changed files with 3162 additions and 3950 deletions

View File

@@ -29,7 +29,7 @@ export default {
Navigation
},
data () {
return { version }
return {}
},
mounted () {
this.$refs.toast.setOptions({ position: 'bottom right' })
@@ -37,6 +37,9 @@ export default {
computed: {
toast () {
return this.$refs.toast
},
version () {
return version.endsWith('.0') ? version.substr(0, version.length - 2) : version
}
}
}