Skip to content

Commit 48b24b6

Browse files
committed
chore: add badges to README
1 parent ba1ee77 commit 48b24b6

File tree

2 files changed

+17
-5
lines changed

2 files changed

+17
-5
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
# vuex-router-sync [![Build Status](https://circleci.com/gh/vuejs/vuex-router-sync.svg?style=shield)](https://circleci.com/gh/vuejs/vuex-router-sync)
1+
# Vuex Router Sync
22

3-
[中文版本 (Chinese Version)](README.zh-cn.md)
3+
[![npm](https://img.shields.io/npm/v/vuex-router-sync.svg)](https://npmjs.com/package/vuex-router-sync)
4+
[![ci status](https://github.com/vuejs/vuex-router-sync/workflows/test/badge.svg)](https://github.com/vuejs/vuex-router-sync/actions)
5+
[![coverage](https://codecov.io/gh/vuejs/vuex-router-sync/branch/master/graph/badge.svg?token=4KJug3I5do)](https://codecov.io/gh/vuejs/vuex-router-sync)
6+
[![license](https://img.shields.io/npm/l/vuex-router-sync.svg?sanitize=true)](http://opensource.org/licenses/MIT)
7+
8+
Sync Vue Router's current `$route` as part of Vuex store's state.
49

5-
> Sync vue-router's current $route as part of vuex store's state.
10+
[中文版本 (Chinese Version)](README.zh-cn.md)
611

712
## Usage
813

README.zh-cn.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
## vuex-router-sync
1+
# Vuex Router Sync
22

3-
> 把 vue-router 当前的 `$route` 同步为 vuex 状态的一部分。
3+
[![npm](https://img.shields.io/npm/v/vuex-router-sync.svg)](https://npmjs.com/package/vuex-router-sync)
4+
[![ci status](https://github.com/vuejs/vuex-router-sync/workflows/test/badge.svg)](https://github.com/vuejs/vuex-router-sync/actions)
5+
[![coverage](https://codecov.io/gh/vuejs/vuex-router-sync/branch/master/graph/badge.svg?token=4KJug3I5do)](https://codecov.io/gh/vuejs/vuex-router-sync)
6+
[![license](https://img.shields.io/npm/l/vuex-router-sync.svg?sanitize=true)](http://opensource.org/licenses/MIT)
7+
8+
把 Vue Router 当前的 `$route` 同步为 Vuex 状态的一部分。
9+
10+
[English](README.md)
411

512
### 用法
613

0 commit comments

Comments
 (0)