export default {
template: `
`,
props: {
initTags: Array,
currentTag: String,
},
computed: {
tags() {
return ["all", ...new Set(this.initTags)];
},
},
methods: {
getButtonClass(tag) {
return {
"border-blue-500 text-blue-400": tag === this.currentTag,
};
},
},
};