@helios-interactive/vue-garuda-admin
v1.1.0
Published
Vue admin panel for displaying and editing garuda config
Downloads
5
Keywords
Readme
vue-garuda-admin
Vue plugin that provides admin panel for displaying and editing garuda config
Usage
Install the package through npm.
npm i --save @helios-interactive/vue-garuda-admin
In your vue.js project, install vue-garuda-admin
import Vue from 'vue';
import VueGarudaAdmin from '@helios-interactive/vue-garuda-admin';
Vue.use(VueGarudaAdmin);
Now the vue component <garuda-admin />
is available in any templates.
<template>
<div class="admin-example">
<h1>Garuda Admin</h1>
<garuda-admin @saved="configSaved" @reverted="configReverted"/>
</div>
</template>
<script>
export default {
name: 'AdminExample',
methods: {
configSaved(config) {
console.log('config saved', config);
},
configReverted(config) {
console.log('config reverted', config);
},
},
};
</script>