93cecbe49c
* Fix bulma/buefy being imported many (many !!!) times * Remove javascript-time-ago because date-fns pretty much does the same thing * Make sure languages are loaded asynchronously Signed-off-by: Thomas Citharel <tcit@tcit.fr>
25 lines
390 B
Vue
25 lines
390 B
Vue
<template>
|
|
<span class="tag">
|
|
<span>
|
|
<slot />
|
|
</span>
|
|
</span>
|
|
</template>
|
|
<script lang="ts">
|
|
import { Component, Vue } from "vue-property-decorator";
|
|
|
|
@Component
|
|
export default class Tag extends Vue {}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
span.tag {
|
|
background: $purple-3;
|
|
color: $violet-2;
|
|
text-transform: uppercase;
|
|
&::before {
|
|
content: "#";
|
|
}
|
|
}
|
|
</style>
|