{"size": 284, "ext": "js", "max_stars_repo_path": "src/components/PostTags.js", "max_stars_repo_name": "DawnEve/StackNote", "max_stars_repo_stars_event_min_datetime": "2021-11-12T08:45:31.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-12T08:45:31.000Z", "max_issues_repo_path": "src/components/PostTags.js", "max_issues_repo_name": "DawnEve/StackNote", "max_issues_repo_issues_event_min_datetime": "2021-05-25T12:15:46.000Z", "max_issues_repo_issues_event_max_datetime": "2021-05-25T12:15:46.000Z", "max_forks_repo_path": "src/components/PostTags.js", "max_forks_repo_name": "DawnEve/StackNote", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 15.7777777778, "max_line_length": 51, "alphanum_fraction": 0.5669014085}

export default{
	props:['tags'],
	template:`
		<template v-if="isNotEmpty">
			tags: 
			<template v-for="tag in tags">
				<a :href="'#/tag/'+tag">{{tag}}</a> 
			</template>
		</template>
	`,

	computed:{
		isNotEmpty(){
			return Object.keys(this.$props.tags).length != 0
		}
	}
}