@kmhgmbh/kmh-console
v0.4.3
Published
## Project setup
Downloads
10
Keywords
Readme
kmh-console
Project setup
npm i @kmhgmbh/kmh-console
Integration
import Vue from 'vue';
import App from './App.vue';
import KmhConsole from '@kmhgmbh/kmh-console';
Vue.use(KmhConsole);
Vue.config.productionTip = false;
new Vue({
render: h => h(App),
}).$mount('#app');
Usage
<kmh-console
:outputClass="{'outputStyle': true}"
:inputClass="{'inputStyle': true}"
:id="1"
:store="true"
/>
import { remote } from '@kmhgmbh/kmh-console';
remote.write({
id: 1,
type: 'text' | 'error' | 'warning' | 'success',
value: 'i am now in the console with the id 1',
});
Props
{
"id": Int,
"store": Boolean
}