# dgiot-component **Repository Path**: dgiiot/dgiot-component ## Basic Information - **Project Name**: dgiot-component - **Description**: No description available - **Primary Language**: Unknown - **License**: MPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 5 - **Created**: 2021-09-22 - **Last Updated**: 2025-09-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # dgiot-component

## Installation
```bash
yarn add @dgiot/dgiot-component
```
## Quick Start
### [main.js](https://github.com/dgiot/dgiot-Component-example/blob/master/src/main.js)
```diff
import Vue from 'vue'
import App from './App.vue'
+import dgiotStore from '@dgiot/dgiot-component/src/store'
+import dgiotBus from '@dgiot/dgiot-component/src/utils/bus'
+import dgiotMixin from '@dgiot/dgiot-component/src/mixins/mqtt'
Vue.use(dgiotBus)
Vue.mixin(dgiotMixin)
Vue.config.productionTip = false
new Vue({
dgiotStore,
render: h => h(App),
}).$mount('#app')
```
### [examples.vue](https://github.com/dgiot/dgiot-Component-example/blob/master/src/App.vue)
```diff