Merge branch 'hotfix/readme_en' into develop
# Conflicts: # README.md Former-commit-id: d91fda05305b0a0d8bcc1b130bf7f7346386314f [formerly d91fda05305b0a0d8bcc1b130bf7f7346386314f [formerly d91fda05305b0a0d8bcc1b130bf7f7346386314f [formerly d91fda05305b0a0d8bcc1b130bf7f7346386314f [formerly 8a7df0b4f385a51e891f945a447c567086fa1da4 [formerly 66e01943a64cd61d7d2d4f901835af3518a7045c]]]]] Former-commit-id: 86ddb2ae9a5a4a4a9a235d8e02ddff9a541d207b Former-commit-id: f6d0b39b22508d9b5d2bd4dda3dea377c2f2e93e Former-commit-id: 8bf4546901cdb468eb3294a0c26c734d7540111d [formerly d2121dc601bce4e2b03b291de3302ff374f7f486] Former-commit-id: 8d1db35a6c3dc17687817412b7183f1594a5657d Former-commit-id: 2f13f442c9df6edc2a9d42345490e4a007c9fc3d Former-commit-id: 069cca691850bc78ffe6dc8bd6d0e4c6b058387b Former-commit-id: 6015a99ce8f271db1c9e1063d8306b7e8e421900 Former-commit-id: 6c2942cbfc81a876f4fdb4ac5d30ab81be17d32d
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 确保脚本抛出遇到的错误
|
||||
set -e
|
||||
|
||||
# 生成静态文件
|
||||
npm run build
|
||||
|
||||
# 进入生成的文件夹
|
||||
cd dist
|
||||
|
||||
# 如果是发布到自定义域名
|
||||
# echo 'www.example.com' > CNAME
|
||||
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
|
||||
# 如果发布到 https://<USERNAME>.github.io
|
||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
||||
|
||||
# 如果发布到 https://<USERNAME>.github.io/<REPO>
|
||||
git push -f git@gitee.com:fairyever/d2-admin-preview-dev.git master
|
||||
|
||||
cd -
|
||||
|
||||
echo "publish to https://fairyever.gitee.io/d2-admin-preview-dev/#/index"
|
||||
@@ -1,27 +0,0 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# 确保脚本抛出遇到的错误
|
||||
set -e
|
||||
|
||||
# 生成静态文件
|
||||
npm run build
|
||||
|
||||
# 进入生成的文件夹
|
||||
cd dist
|
||||
|
||||
# 如果是发布到自定义域名
|
||||
# echo 'www.example.com' > CNAME
|
||||
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
|
||||
# 如果发布到 https://<USERNAME>.github.io
|
||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
||||
|
||||
# 如果发布到 https://<USERNAME>.github.io/<REPO>
|
||||
git push -f git@gitee.com:fairyever/d2-admin-preview.git master
|
||||
|
||||
cd -
|
||||
|
||||
echo "publish to https://fairyever.gitee.io/d2-admin-preview/#/index"
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
// 一个新的页面
|
||||
"d2-new-page": {
|
||||
"prefix": "dd-new-page",
|
||||
"body": [
|
||||
"<template>",
|
||||
" <d2-container class=\"${1:page-name}\">",
|
||||
" <!--",
|
||||
" 可选 type = full(默认) | card | ghost",
|
||||
" 可选 better-scroll 属性",
|
||||
" 可选 better-scroll-option 属性",
|
||||
" 文档 https://d2-projects.github.io/d2-admin-doc/zh/components/container.html",
|
||||
" -->",
|
||||
" <template slot=\"header\">header</template>",
|
||||
" <span class=\"${1:page-name}_title\">this is [ {{name}} ]</span>",
|
||||
" <template slot=\"footer\">footer</template>",
|
||||
" </d2-container>",
|
||||
"</template>",
|
||||
"<script>",
|
||||
"import { mapState, mapMutations } from 'vuex'",
|
||||
"export default {",
|
||||
" name: '${1:page-name}',",
|
||||
" data () {",
|
||||
" return {",
|
||||
" name: '${1:page-name}'",
|
||||
" }",
|
||||
" },",
|
||||
" computed: {",
|
||||
" ...mapState({",
|
||||
" // 访问用户信息",
|
||||
" userInfo: state => state.d2admin.userInfo",
|
||||
" })",
|
||||
" },",
|
||||
" methods: {",
|
||||
" ...mapMutations([",
|
||||
" // 操作公用数据",
|
||||
" 'd2adminUtilDatabase',",
|
||||
" // 操作用户私有数据",
|
||||
" 'd2adminUtilDatabaseUser'",
|
||||
" ])",
|
||||
" }",
|
||||
"}",
|
||||
"</script>",
|
||||
"<style lang=\"scss\" scoped>",
|
||||
"@import '~@/assets/style/public.scss';",
|
||||
".${1:page-name} {",
|
||||
" .${1:page-name}_title {",
|
||||
" font-size: 14px;",
|
||||
" }",
|
||||
" // Your page style here",
|
||||
" // Do not use empty rulesets",
|
||||
" // If the page does not need an additional definition style, please delete",
|
||||
"}",
|
||||
"</style>"
|
||||
],
|
||||
"description": "new page"
|
||||
},
|
||||
// d2-container 组件 header 插槽
|
||||
"d2-container-header": {
|
||||
"prefix": "dd-container-header",
|
||||
"body": [
|
||||
"<template slot=\"header\">${1:header}</template>"
|
||||
],
|
||||
"description": "d2-container component header slot"
|
||||
},
|
||||
// d2-container 组件 footer 插槽
|
||||
"d2-container-footer": {
|
||||
"prefix": "dd-container-footer",
|
||||
"body": [
|
||||
"<template slot=\"footer\">${1:footer}</template>"
|
||||
],
|
||||
"description": "d2-container component footer slot"
|
||||
},
|
||||
// 图标组件
|
||||
"d2-icon": {
|
||||
"prefix": "dd-icon",
|
||||
"body": [
|
||||
"<d2-icon name=\"${1:github}\"/>"
|
||||
],
|
||||
"description": "d2-icon component"
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
{
|
||||
// 一个新的页面
|
||||
"d2-new-page": {
|
||||
"prefix": "dd-new-page",
|
||||
"body": [
|
||||
"<template>",
|
||||
" <d2-container class=\"${1:page-name}\">",
|
||||
" <!--",
|
||||
" 可选 type = full(默认) | card | ghost",
|
||||
" 可选 better-scroll 属性",
|
||||
" 可选 better-scroll-option 属性",
|
||||
" 文档 https://d2-projects.github.io/d2-admin-doc/zh/components/container.html",
|
||||
" -->",
|
||||
" <template slot=\"header\">header</template>",
|
||||
" <span class=\"${1:page-name}_title\">this is [ {{name}} ]</span>",
|
||||
" <template slot=\"footer\">footer</template>",
|
||||
" </d2-container>",
|
||||
"</template>",
|
||||
"<script>",
|
||||
"import { mapState, mapMutations } from 'vuex'",
|
||||
"export default {",
|
||||
" name: '${1:page-name}',",
|
||||
" data () {",
|
||||
" return {",
|
||||
" name: '${1:page-name}'",
|
||||
" }",
|
||||
" },",
|
||||
" computed: {",
|
||||
" ...mapState({",
|
||||
" // 访问用户信息",
|
||||
" userInfo: state => state.d2admin.userInfo",
|
||||
" })",
|
||||
" },",
|
||||
" methods: {",
|
||||
" ...mapMutations([",
|
||||
" // 操作公用数据",
|
||||
" 'd2adminUtilDatabase',",
|
||||
" // 操作用户私有数据",
|
||||
" 'd2adminUtilDatabaseUser'",
|
||||
" ])",
|
||||
" }",
|
||||
"}",
|
||||
"</script>",
|
||||
"<style lang=\"scss\" scoped>",
|
||||
"@import '~@/assets/style/public.scss';",
|
||||
".${1:page-name} {",
|
||||
" .${1:page-name}_title {",
|
||||
" font-size: 14px;",
|
||||
" }",
|
||||
" // Your page style here",
|
||||
" // Do not use empty rulesets",
|
||||
" // If the page does not need an additional definition style, please delete",
|
||||
"}",
|
||||
"</style>"
|
||||
],
|
||||
"description": "new page"
|
||||
},
|
||||
// d2-container 组件 header 插槽
|
||||
"d2-container-header": {
|
||||
"prefix": "dd-container-header",
|
||||
"body": [
|
||||
"<template slot=\"header\">${1:header}</template>"
|
||||
],
|
||||
"description": "d2-container component header slot"
|
||||
},
|
||||
// d2-container 组件 footer 插槽
|
||||
"d2-container-footer": {
|
||||
"prefix": "dd-container-footer",
|
||||
"body": [
|
||||
"<template slot=\"footer\">${1:footer}</template>"
|
||||
],
|
||||
"description": "d2-container component footer slot"
|
||||
},
|
||||
// 图标组件
|
||||
"d2-icon": {
|
||||
"prefix": "dd-icon",
|
||||
"body": [
|
||||
"<d2-icon name=\"${1:github}\"/>"
|
||||
],
|
||||
"description": "d2-icon component"
|
||||
}
|
||||
}
|
||||
105
doc/CH.md
Normal file
105
doc/CH.md
Normal file
@@ -0,0 +1,105 @@
|
||||

|
||||
|
||||
<p align="center">
|
||||
<a><img src="https://img.shields.io/github/release/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://badge.fury.io/js/%40d2-admin%2Fice-scaffold.svg"/></a>
|
||||
<a><img src="https://www.travis-ci.org/d2-projects/d2-admin.svg?branch=master"/></a>
|
||||
<a><img src="https://img.shields.io/github/last-commit/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/badge/code_style-standard-brightgreen.svg"/></a>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a><img src="https://img.shields.io/github/issues/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-closed/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-pr/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/issues-pr-closed/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/forks/d2-projects/d2-admin.svg"/></a>
|
||||
<a><img src="https://img.shields.io/github/stars/d2-projects/d2-admin.svg"/></a>
|
||||
</p>
|
||||
|
||||
[D2Admin](https://github.com/d2-projects/d2-admin) 是一个完全**开源免费**的管理系统前端集成方案,为您做好大部分项目前期准备工作,提供大量示例代码,方便快速进行管理系统开发。
|
||||
|
||||
## 文档
|
||||
|
||||
[中文文档](https://d2-projects.github.io/d2-admin-doc/zh/)
|
||||
|
||||
## 预览
|
||||
|
||||
[预览地址](https://d2-projects.github.io/d2-admin/)
|
||||
|
||||
> 预览部署在 Github Page ,如果您访问时由于网络原因卡在载入界面或者白屏,请克隆或者下载本仓库在本地运行查看效果。
|
||||
|
||||
## 功能
|
||||
|
||||
* 使用 vue-cli3 构建
|
||||
* 首屏加载等待动画
|
||||
* 五款主题
|
||||
* 详细的文档
|
||||
* 登录和注销
|
||||
* 分离的路由和菜单设置
|
||||
* 可折叠侧边栏
|
||||
* 多国语
|
||||
* 富文本编辑器
|
||||
* Markdown 编辑器
|
||||
* 全屏
|
||||
* Fontawesome 图标库
|
||||
* 图标选择器
|
||||
* 自动注册 SVG 图标
|
||||
* 模拟数据
|
||||
* 剪贴板封装
|
||||
* 图表库
|
||||
* 时间日期计算工具
|
||||
* 导入 Excel ( xlsx + csv )
|
||||
* 数据导出 Excel ( xlsx + csv )
|
||||
* 数据导出文本
|
||||
* 数字动画
|
||||
* 可拖拽调整大小的区块布局
|
||||
* 可拖拽调整大小和位置的网格布局
|
||||
* 开箱即用的页面布局组件
|
||||
* 加载并解析 markdown 文件
|
||||
* GitHub 样式的 markdown 显示组件
|
||||
* markdown 内代码高亮
|
||||
* 为 markdown 扩展了百度云链接解析和优化显示
|
||||
* 右键菜单组件
|
||||
* 自定义滚动条和滚动控制
|
||||
* 公用样式抽离,方便的主题定制
|
||||
* 支持临时菜单配置
|
||||
* 系统功能展示模块 `1.1.4 +`
|
||||
* 多标签页模式 `1.1.4 +`
|
||||
* 美化滚动条 `1.1.4 +`
|
||||
* json view `1.1.4 +`
|
||||
* cookie 封装 `1.1.5 +`
|
||||
* 多标签页全局控制 API `1.1.5 +`
|
||||
* 菜单全局控制 API `1.1.5 +`
|
||||
* 多标签页关闭控制支持右键菜单 `1.1.10 +`
|
||||
* 模块化全局状态管理 `1.2.0 +`
|
||||
* 多种数据持久化方式:区分用户,区分路由,页面数据快照功能 `1.2.0 +`
|
||||
* 支持跳出外部链接的菜单系统 `1.2.0 +`
|
||||
* 支持菜单 svg 图标 `1.3.0 +`
|
||||
* 日志记录和错误捕捉 `1.3.0 +`
|
||||
* 全局菜单搜索 `1.3.0 +`
|
||||
* 自定义登录重定向 `1.3.0 +`
|
||||
|
||||
## 其它版本
|
||||
|
||||
| 名称 | Github / 主页 | 码云 | 预览 | 介绍 |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 简化版模板 | [Github](https://github.com/d2-projects/d2-admin-start-kit) | [码云](https://gitee.com/fairyever/d2-admin-start-kit) | [预览](https://fairyever.gitee.io/d2-admin-start-kit-preview) | 无 |
|
||||
| 飞冰脚手架 | [飞冰](https://alibaba.github.io/ice/scaffold?type=vue) | 无 | [预览](https://fairyever.gitee.io/d2-admin-ice-preview) | [介绍](https://juejin.im/post/5b6349716fb9a04f834669d6) |
|
||||
|
||||
## 加入我们
|
||||
|
||||
D2Admin 是完全开源免费的项目,旨在帮助开发者更方便地进行管理系统开发,同时也提供 2000 人的 QQ 交流群和微信群,前后端的朋友可以相互答疑,项目组成员全部在内,所有 D2 相关项目使用问题欢迎在群内提问。
|
||||
|
||||

|
||||
|
||||
> 隐性福利:重要通知会发群红包
|
||||
|
||||
## 支持
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user