Skip to content

Commit f0130f6

Browse files
author
Weffe
committed
Merge branch 'dev'
2 parents 0a3335f + 9cd085f commit f0130f6

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
Add easy to manage api versioning to [axios](https://github.com/axios/axios)
88

9+
## Online Demo
10+
11+
[![Edit axios-api-versioning browser demo](./docs/assests/browser-demo-screenshot.png)](https://codesandbox.io/s/lx83688vyq?fontsize=14&hidenavigation=1&view=preview)
12+
13+
[Visit Online Demo](https://codesandbox.io/s/lx83688vyq?fontsize=14&hidenavigation=1&view=preview)
14+
915
## Quick Start
1016

1117
### Install
@@ -28,7 +34,6 @@ yarn add axios-api-versioning
2834

2935
### Example Usage
3036

31-
3237
```javascript
3338
import axios from 'axios';
3439
import { withVersioning, VersioningStrategy } from 'axios-api-versioning';

docs/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,9 @@ Here, you can find an assortment of guides and documentation on how to use `axio
1616
- TypeScript Support
1717

1818
Sounds good to you? Then, head to the [Quick Start](quick-start.md) to learn more.
19+
20+
## Online Demo
21+
22+
Try it out! Play with the api version and versioning strategy dropdowns to see differnt versions of the API returning different kinds of data.
23+
24+
<iframe src="https://codesandbox.io/embed/lx83688vyq?fontsize=14&hidenavigation=1&view=preview" title="axios-api-versioning browser demo" style="width:100%; height:700px; border:0; border-radius: 4px; overflow:hidden;" sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"></iframe>
35 KB
Loading

0 commit comments

Comments
 (0)