diff --git a/docs/zh/guide/README.md b/docs/zh/guide/README.md index 8204a9b4..9deabe92 100644 --- a/docs/zh/guide/README.md +++ b/docs/zh/guide/README.md @@ -41,8 +41,6 @@ D2Admin 创建于2018年1月14日零点51分,四个月后在2018年5月26日 —— 2018年7月5日 ::: -> 1000 star 后 D2Admin 现已由一人维护改为归属于 [D2 Projects Organizations](https://github.com/d2-projects) 由多人维护 - ## 功能 * 首屏加载等待动画 避免首次加载白屏尴尬 diff --git a/docs/zh/guide/getting-started.md b/docs/zh/guide/getting-started.md index 4c6eb9ac..618172e3 100644 --- a/docs/zh/guide/getting-started.md +++ b/docs/zh/guide/getting-started.md @@ -1,5 +1,7 @@ # 快速上手 +## 开始 + > 使用教程正在补充 在上手之前,建议您先大致浏览以下章节,对整个系统有大致了解 @@ -8,4 +10,37 @@ * 一些你会用到的全局数据和方法:[VUEX 实用工具](../plugins/vuex.md) * 一些你会用到的公用方法:[Util 实用工具](../plugins/util.md) -如果你想了解更多 D2Admin 相关的教程和更新文章,可以参阅 [文章](../article/) \ No newline at end of file +如果你想了解更多 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) \ No newline at end of file diff --git a/docs/zh/guide/question.md b/docs/zh/guide/question.md index 0a9503ef..9cfa0765 100644 --- a/docs/zh/guide/question.md +++ b/docs/zh/guide/question.md @@ -332,4 +332,26 @@ npm remove @antv/g2 -S ## 项目里有未完成的代码 -有些示例(比如 v-charts 和 ElementUI)是很方便就可以找到官网示例和文档的,这些插件和组件的示例在本项目中就可能处于未完成的状态,但是以后会完成 \ No newline at end of file +有些示例(比如 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! +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 +```