[Doc] fix links (#3663)

This commit is contained in:
neverland
2019-06-27 14:50:28 +08:00
committed by GitHub
parent ddb24e6762
commit 96458cce9b
7 changed files with 9 additions and 9 deletions

View File

@@ -61,7 +61,7 @@ npm run dev
### 目录结构
- 仓库的组件代码位于 packages 下,每个组件一个文件夹
- 仓库的组件代码位于 src 下,每个组件一个文件夹
- docs 目录下是文档网站的代码,本地开发时可以在目录下运行 npm run dev 开启文档网站
项目目录大致如下:
@@ -70,7 +70,7 @@ npm run dev
vant
├─ build # 构建脚本
├─ docs # 文档网站
├─ packages # 组件文件
├─ src # 组件文件
├─ test # 单元测试
└─ types # 类型定义
```
@@ -80,7 +80,7 @@ vant
添加新组件时,请按照下面的目录结构组织文件,并在 `docs/src/doc.config.js` 中配置组件名称
```
packages
src
|- button
| ├─ demo # 示例代码
| ├─ test # 单元测试

View File

@@ -8,7 +8,7 @@ Vant provides a set of default themes, if you want to custom the theme color or
Vant use [Less](http://lesscss.org/) as css preprocessoryou can modify less variables to custom theme.
There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/dev/packages/style/var.less)。
There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/dev/src/style/var.less)。
```less
// color variables

View File

@@ -12,7 +12,7 @@ Vant 提供了一套默认主题CSS 命名采用 BEM 的风格,方便使用
Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。
下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/youzan/vant/blob/dev/packages/style/var.less)。
下面是一些基本的样式变量,所有可用的颜色变量请参考 [配置文件](https://github.com/youzan/vant/blob/dev/src/style/var.less)。
```less
// color variables