# vue-admin-template
> A minimal vue admin template with Element UI & axios & iconfont & permission control & lint
**Live demo:** http://panjiachen.github.io/vue-admin-template
[中文文档](https://github.com/PanJiaChen/vue-admin-template/blob/master/README-zh.md)
## Build Setup
```bash
# Clone project
git clone https://github.com/PanJiaChen/vue-admin-template.git
# Install dependencies
npm install
# Serve with hot reload at localhost:9528
npm run dev
# Build for production with minification
npm run build
# Build for production and view the bundle analyzer report
npm run build --report
```
## Demo
![demo](https://github.com/PanJiaChen/PanJiaChen.github.io/blob/master/images/demo.gif)
## Extra
If you want router permission && generate menu by user roles , you can use this branch [permission-control](https://github.com/PanJiaChen/vue-admin-template/tree/permission-control)
This project is based on `webpack4` development. If you want to use `webpack3` development, please use this branch [webpack3](https://github.com/PanJiaChen/vue-admin-template/tree/webpack3)
For `typescript` version, you can use [vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template) (Credits: [@Armour](https://github.com/Armour))
## Related Project
[vue-element-admin](https://github.com/PanJiaChen/vue-element-admin)
[electron-vue-admin](https://github.com/PanJiaChen/electron-vue-admin)
[vue-typescript-admin-template](https://github.com/Armour/vue-typescript-admin-template)
### Element-Ui using cdn tutorial
First find `index.html`([root directory](https://github.com/PanJiaChen/vue-admin-template/blob/element-ui-cdn/index.html))
Import css and js of `Element`, and then import vue. Because `Element` is vue-dependent, vue must be import before it.
Then find [webpack.base.conf.js](https://github.com/PanJiaChen/vue-admin-template/blob/element-ui-cdn/build/webpack.base.conf.js)
Add `externals` to make webpack not package vue and element.
```
externals: {
vue: 'Vue',
'element-ui':'ELEMENT'
}
```
Finally there is a small detail to pay attention to that if you import vue in global, you don't need to manually `Vue.use(Vuex)`, it will be automatically mounted, see
[issue](https://github.com/vuejs/vuex/issues/731)
And you can use `npm run build --report` to see the effect
Pictured:
![demo](https://panjiachen.github.io/images/element-cdn.png)
**[Detailed code](https://github.com/PanJiaChen/vue-admin-template/commit/746aff560932704ae821f82f10b8b2a9681d5177)**
**[Branch](https://github.com/PanJiaChen/vue-admin-template/tree/element-ui-cdn)**
## Browsers support
Modern browsers and Internet Explorer 10+.
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari |
| --------- | --------- | --------- | --------- |
| IE10, IE11, Edge| last 2 versions| last 2 versions| last 2 versions
## License
[MIT](https://github.com/PanJiaChen/vue-admin-template/blob/master/LICENSE) license.
Copyright (c) 2017-present PanJiaChen
没有合适的资源?快使用搜索试试~ 我知道了~
基于go 实现的分布式开源物联网MQTT消息服务器
共350个文件
go:145个
js:56个
vue:32个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 87 浏览量
2024-04-29
13:44:56
上传
评论
收藏 38.74MB ZIP 举报
温馨提示
CMQ 是一个开源的分布式 MQTT 消息平台,支持海量物联网设备一站式接入、MQTT&CoAP 多协议处理、低时延实时消息通信。通过开发自定义的规则引擎,可以将数据转发到其他消息中间件,比如 kafka 等; 整个平台使用 GO 开发,采用的开源的 go-micro 框架,支持微服务部署,理论上支持无限的水平扩容能力。 #### 组件 LoadBalance: 负载均衡,由外部提供的四层负载均衡,可以使用 LVS、HAPROXY 等四层负载均衡。 Hub: 设备链路网关,负责设备链路管理。 Registry: 设备验证服务,具体请参见设备管理文档。 TopicManager: Topic 管理服务,负责设备 Topic 订阅管理,设备订阅 Topic 落盘和加载。 TopicAcl: Topic 权限管理服务。 PublishEngin: 消息发布引擎。 PublishAcl: 消息发布 acl。 MessageDispatch: 消息分发组件。
资源推荐
资源详情
资源评论
收起资源包目录
基于go 实现的分布式开源物联网MQTT消息服务器 (350个子文件)
.babelrc 229B
waves.css 825B
.DS_Store 10KB
.DS_Store 8KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.DS_Store 6KB
.editorconfig 243B
.eslintignore 34B
.gitignore 171B
.gitignore 158B
.gitkeep 0B
tutorial.go 41KB
message_test.go 19KB
message.go 16KB
cstrie.go 15KB
shared.go 14KB
mqtthandler.go 12KB
decoder.go 10KB
topicloadsvc.go 9KB
servicecache.go 8KB
inverted_bitmap_test.go 8KB
fixed.go 8KB
databasesvc.go 8KB
calculator-remote.go 6KB
consistent.go 6KB
ws.go 6KB
optimized_inverted_bitmap_test.go 6KB
ctx.go 6KB
rpchandler.go 5KB
connect.go 5KB
cstrie_test.go 5KB
naive_test.go 5KB
trie_test.go 5KB
shared_service-remote.go 4KB
fixed_test.go 4KB
productHandler.go 4KB
encoder.go 4KB
sub.go 4KB
h2chandler.go 4KB
deviceHandler.go 4KB
optimized_inverted_bitmap.go 4KB
topicsvc.go 3KB
consts.go 3KB
mqttcmd.go 3KB
h2chandler.go 3KB
connect_test.go 3KB
inverted_bitmap.go 2KB
pub.go 2KB
rpccmd.go 2KB
rpchandler.go 2KB
trie.go 2KB
utils_test.go 2KB
server.go 2KB
bitmapsystem_test.go 2KB
client.go 2KB
throughput_test.go 2KB
server_test.go 2KB
servmux.go 2KB
naive.go 2KB
handler.go 2KB
devicesvc.go 2KB
rpccmd.go 2KB
rpccmd.go 2KB
rpchandler.go 2KB
messagetcp.go 2KB
h2chandler.go 2KB
rpcsvc.go 2KB
rpcsvc.go 2KB
rpcsvc.go 2KB
rpcsvc.go 2KB
unsub.go 1KB
rpcsvc.go 1KB
bitmapsystem.go 1KB
main.go 1KB
rpchandler.go 1KB
main.go 1KB
rpccmd.go 1KB
mqttsvc.go 1KB
main.go 1KB
tagmanager_test.go 1KB
servmux_test.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
main.go 1KB
client.go 1KB
rpchandler.go 1KB
h2csvc.go 1KB
共 350 条
- 1
- 2
- 3
- 4
资源评论
MarcoPage
- 粉丝: 2956
- 资源: 3005
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功