mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs: update source file link (#9385)
This commit is contained in:
parent
983cceb170
commit
3a53fa3aed
@ -6,7 +6,7 @@ Vant use [Less](http://lesscss.org/) as css preprocessor,you can override the
|
||||
|
||||
### Less variables
|
||||
|
||||
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)。
|
||||
There are some basic variables below, all available variables could be found in [var.less](https://github.com/youzan/vant/blob/2.x/src/style/var.less)。
|
||||
|
||||
```less
|
||||
// Color Palette
|
||||
|
@ -12,7 +12,7 @@ Vant 提供了一套默认主题,CSS 命名采用 BEM 的风格,方便使用
|
||||
|
||||
Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。
|
||||
|
||||
下面是所有的基础样式变量,组件的颜色变量请参考各个组件的文档或[配置文件](https://github.com/youzan/vant/blob/dev/src/style/var.less)。
|
||||
下面是所有的基础样式变量,组件的颜色变量请参考各个组件的文档或[配置文件](https://github.com/youzan/vant/blob/2.x/src/style/var.less)。
|
||||
|
||||
```less
|
||||
// Color Palette
|
||||
|
@ -55,7 +55,7 @@ Current supported languages:
|
||||
| Thai | th-TH |
|
||||
| French | fr-FR |
|
||||
|
||||
> View all language configs [Here](https://github.com/youzan/vant/tree/dev/src/locale/lang).
|
||||
> View all language configs [Here](https://github.com/youzan/vant/tree/2.x/src/locale/lang).
|
||||
|
||||
### Add new language
|
||||
|
||||
|
@ -56,7 +56,7 @@ Locale.add(messages);
|
||||
| 泰语 | th-TH |
|
||||
| 法语 | fr-FR |
|
||||
|
||||
> 在 [这里](https://github.com/youzan/vant/tree/dev/src/locale/lang) 查看所有的语言包源文件。
|
||||
> 在 [这里](https://github.com/youzan/vant/tree/2.x/src/locale/lang) 查看所有的语言包源文件。
|
||||
|
||||
## 常见问题
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user