1 Star 5 Fork 0

un-pany / v2-datav-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

简介

基于 vue2 和 datav 的大屏可视化模板

特别说明

该模板默认你有 vue2 + vuex + vue-router + axios 项目基础

如果你只关注大屏页面本身,即 views -> dashboard -> index.vue,那么只需要你有 vue2 基础即可

该项目完全基于花裤衩大佬的 vue-admin-template 进行精简改造,没什么技术含量。

大屏代码在 views -> dashboard -> index.vue,而其他文件(比如 api、store、utils)只是备用,该模板暂时还没有用到。

温馨提示

  • 没有用过类似 vue-admin-template 项目经验的朋友可能依旧会觉得该模板比较 "臃肿"

  • DataV 是一个很好用的大屏可视化组件库,可以预先阅读一下它的文档

开发

# 克隆项目
git clone https://github.com/un-pany/v2-datav-template.git

# 进入项目目录
cd v2-datav-template

# 安装依赖
yarn

# 启动服务
yarn dev

多环境打包

# 构建预发布环境
yarn build:stage

# 构建生产环境
yarn build:prod

代码格式检查

# 代码格式检查并自动修复
yarn lint

Git 提交规范

  • feat 增加新功能
  • fix 修复问题/BUG
  • style 代码风格相关无影响运行结果的
  • perf 优化/性能提升
  • refactor 重构
  • revert 撤销修改
  • test 测试相关
  • docs 文档/注释
  • chore 依赖更新/脚手架配置修改等
  • workflow 工作流改进
  • ci 持续集成
  • types 类型定义文件更改
  • wip 开发中
  • mod 不确定分类的修改

📄 License

MIT

Copyright (c) 2021 UNPany

MIT License Copyright (c) 2021 UNPany Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

⛅ 基于 vue2 和 datav 的大屏可视化模板 展开 收起
JavaScript 等 4 种语言
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/un-pany/v2-datav-template.git
git@gitee.com:un-pany/v2-datav-template.git
un-pany
v2-datav-template
v2-datav-template
main

搜索帮助