A simple x-component for Adminlte template with Vuejs
npm install x-backend --save
Import the package into main.js
file
import "bootstrap/dist/css/bootstrap.min.css";
import "admin-lte/dist/css/AdminLTE.min.css";
import Vue from 'vue'
import XBackend from 'x-backend'
Vue.use(XBackend)
Example.vue
<template>
<x-box title="x-backend">
<x-alert/>
</x-box>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
Available components
props | type | default |
---|---|---|
variant | string | info |
title | string | Alert! |
summary | string | Info alert preview. This alert is dismissable. |
props | type | default |
---|---|---|
variant | string | primary |
label | string | Save |
size | string | sm |
disabled | boolean | false |
flat | boolean | false |