inicios del FrontEnd

This commit is contained in:
2021-04-21 21:47:04 -05:00
parent 4a7fb24eb2
commit cf9505f26d
196 changed files with 28978 additions and 0 deletions

34
APP/components/Badge.vue Normal file
View File

@@ -0,0 +1,34 @@
<template>
<component :is="tag" class="badge" :class="`badge-${type}`">
<slot></slot>
</component>
</template>
<script>
export default {
name: 'badge',
props: {
tag: {
type: String,
default: 'span',
description: 'Badge tag'
},
type: {
type: String,
default: 'default',
validator: value => {
let acceptedValues = [
'primary',
'info',
'success',
'warning',
'danger',
'default'
];
return acceptedValues.indexOf(value) !== -1;
},
description: 'Badge type (primary|info|success|warning|danger|default)'
}
}
};
</script>
<style></style>