add favicons
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 9.0 KiB |
@@ -1,7 +0,0 @@
|
||||
## 安装
|
||||
|
||||
### ynpm安装
|
||||
|
||||
```shell
|
||||
npm i vant -S
|
||||
```
|
||||
@@ -1,6 +1,17 @@
|
||||
## 快速上手
|
||||
## Vant
|
||||
|
||||
### 完整引入
|
||||
一套`Vue 2.0`的基础组件。
|
||||
A collection of essential UI components written with Vue 2.0.
|
||||
|
||||
### 安装
|
||||
|
||||
```shell
|
||||
npm i vant -S
|
||||
```
|
||||
|
||||
### 引入组件
|
||||
|
||||
#### 完整引入
|
||||
|
||||
```javascript
|
||||
import Vue from 'vue';
|
||||
@@ -10,7 +21,7 @@ import 'vant/lib/vant-css/index.css';
|
||||
Vue.use(ZanUI);
|
||||
```
|
||||
|
||||
### 按需引入
|
||||
#### 按需引入
|
||||
|
||||
```javascript
|
||||
import Vue from 'vue';
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@ Vue.use(ZanUI.Lazyload, {
|
||||
const routesConfig = routes(navConfig);
|
||||
routesConfig.push({
|
||||
path: '/',
|
||||
redirect: '/component/install'
|
||||
redirect: '/component/quickstart'
|
||||
});
|
||||
|
||||
const router = new VueRouter({
|
||||
|
||||
@@ -6,10 +6,6 @@ module.exports = {
|
||||
"groups": [
|
||||
{
|
||||
"list": [
|
||||
{
|
||||
"path": "/install",
|
||||
"title": "安装"
|
||||
},
|
||||
{
|
||||
"path": "/quickstart",
|
||||
"title": "快速上手"
|
||||
@@ -19,7 +15,7 @@ module.exports = {
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ZanUI组件",
|
||||
"name": "Vant组件",
|
||||
"showInMobile": true,
|
||||
"groups": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user