Vue.component('side-menu-link', { template: '' + '' + '{{name}}' + '' + '', props: { link: '', name: '', color: String, current: '' }, computed: { getLink: function () { return '#' + this.link; }, getStyle: function() { if (this.current == (this.link + '-faqs')) { return { 'color': 'white', } } else { return { 'text-decoration': 'none' } } } } });