更新文档

Former-commit-id: 54faac5ab769f166cac8f2e3ceb307da1e1b4d15 [formerly 54faac5ab769f166cac8f2e3ceb307da1e1b4d15 [formerly 54faac5ab769f166cac8f2e3ceb307da1e1b4d15 [formerly 54faac5ab769f166cac8f2e3ceb307da1e1b4d15 [formerly 1a30d370c075841667b87f6e6fdc0e90d8f76668 [formerly 5debcc6e726975554281add93e31e5760fc4113f]]]]]
Former-commit-id: 67775e236561d9ac4d0e2a7c7192021b29865e66
Former-commit-id: 4e2f85406556c8c051715b5fec1c56e604f58bcc
Former-commit-id: eee6d73cb22c7049dc572f843c425e63ca3174ce [formerly c0afe657361ca9cd3c142aa7e81213daaaca4245]
Former-commit-id: d473e60cee414c873c98b7c4f18535142f2512c7
Former-commit-id: 64fda9ac05840434a02df4f0ad5dd9d3d3126cad
Former-commit-id: a85a95ea157f0c561ab0d88118351a34b0c0b7e7
Former-commit-id: 0257988fa9a5aa363b0d863c2f6964143068700d
Former-commit-id: 2572b9119b2648fe728f55dbae9398cc7d5b7d6f
This commit is contained in:
liyang
2018-07-27 22:56:37 +08:00
parent 492d8a0288
commit 683fb6785c
3 changed files with 59 additions and 4 deletions

View File

@@ -41,8 +41,6 @@ D2Admin 创建于2018年1月14日零点51分四个月后在2018年5月26日
—— 2018年7月5日 —— 2018年7月5日
::: :::
> 1000 star 后 D2Admin 现已由一人维护改为归属于 [D2 Projects Organizations](https://github.com/d2-projects) 由多人维护
## 功能 ## 功能
* 首屏加载等待动画 避免首次加载白屏尴尬 * 首屏加载等待动画 避免首次加载白屏尴尬

View File

@@ -1,5 +1,7 @@
# 快速上手 # 快速上手
## 开始
> 使用教程正在补充 > 使用教程正在补充
在上手之前,建议您先大致浏览以下章节,对整个系统有大致了解 在上手之前,建议您先大致浏览以下章节,对整个系统有大致了解
@@ -8,4 +10,37 @@
* 一些你会用到的全局数据和方法:[VUEX 实用工具](../plugins/vuex.md) * 一些你会用到的全局数据和方法:[VUEX 实用工具](../plugins/vuex.md)
* 一些你会用到的公用方法:[Util 实用工具](../plugins/util.md) * 一些你会用到的公用方法:[Util 实用工具](../plugins/util.md)
如果你想了解更多 D2Admin 相关的教程和更新文章,可以参阅 [文章](../article/) 如果你想了解更多 D2Admin 相关的教程和更新文章,可以参阅 [文章](../article/)
## 资源
下面是一些在开发过程会用到的文档,列举在这里方便大家快速查看
组件库
* [element-ui](http://element.eleme.io/#/zh-CN/component/quickstart)
项目基础
* [vue.js](https://cn.vuejs.org/v2/guide/)
* [vuex](https://vuex.vuejs.org/zh/guide/)
* [vue-router](https://router.vuejs.org/zh/guide/)
* [sass](https://www.sass.hk/guide/)
脚手架
* [vue-cli3](https://github.com/vuejs/vue-docs-zh-cn/tree/master/vue-cli)
* [webpack-chain](https://github.com/mozilla-neutrino/webpack-chain)
插件
* [axios](https://github.com/axios/axios)
* [better-scroll](https://github.com/ustbhuangyi/better-scroll)
* [dayjs](https://github.com/iamkun/dayjs)
* [echarts](http://echarts.baidu.com/index.html)
* [lowdb](https://github.com/typicode/lowdb)
* [mockjs](https://github.com/nuysoft/Mock/wiki)
* [v-charts](https://v-charts.js.org/#/props)
* [vue-grid-layout](https://github.com/jbaysolutions/vue-grid-layout)
* [vue-i18n](https://kazupon.github.io/vue-i18n/guide/started.html)
* [vue-splitpane](https://www.npmjs.com/package/vue-splitpane)

View File

@@ -332,4 +332,26 @@ npm remove @antv/g2 -S
## 项目里有未完成的代码 ## 项目里有未完成的代码
有些示例(比如 v-charts 和 ElementUI是很方便就可以找到官网示例和文档的这些插件和组件的示例在本项目中就可能处于未完成的状态但是以后会完成 有些示例(比如 v-charts 和 ElementUI是很方便就可以找到官网示例和文档的这些插件和组件的示例在本项目中就可能处于未完成的状态但是以后会完成
## unexpected end of file
报错代码
``` sh
E:\VS\TFS_FREE_Z\BaseProjects\VUE\d2-admin-z>npm i
npm WARN tar zlib error: unexpected end of file
npm ERR! cb() never called!
npm ERR! This is an error with npm itself. Please report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ZHZ\AppData\Roaming\npm-cache\_logs\2018-07-27T13_13_56_693Z-debug.log
```
解决方法
目前只有一位朋友遇到这个问题,最后使用 cnpm 绕过了这个错误
``` sh
npm install -g cnpm --registry=https://registry.npm.taobao.org
```