# 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

ommit-activity package Npm Version Node Version
Jsdeliver Month Downloads Install Size Type Support
Outdated Dep Vulnerablities License

![微服务架构图_02.png](https://dgiot-1253666439.cos.ap-shanghai-fsi.myqcloud.com/shuwa_tech/zh/frontend/web/%E5%BE%AE%E6%9C%8D%E5%8A%A1%E6%9E%B6%E6%9E%84%E5%9B%BE_02.png) ## 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 ``` ### Online examples [![Edit gmullerb-react-reducer-provider](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/dgiot/dgiot-component)