Skip to content

Commit 8db427a

Browse files
committed
docs: update readme
1 parent d638ddc commit 8db427a

File tree

2 files changed

+36
-5
lines changed

2 files changed

+36
-5
lines changed

license

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,3 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
55
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
66

77
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8-
9-
---
10-
11-
This project also incorporates third-party software licensed under the MIT
12-
License. See `ATTRIBUTIONS.md` for details.

readme.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
11
# Vue Split Panel
22

33
Splitter component based on the usage syntax of Reka UI but using the internal rendering logic of Web Awesome's Split Panel.
4+
5+
## Installation
6+
7+
```
8+
pnpm add @directus/vue-split-panel
9+
```
10+
11+
```vue
12+
<script lang="ts" setup>
13+
import { SplitPanel } from '@directus/vue-split-panel';
14+
import '@directus/vue-split-panel/index.css';
15+
</script>
16+
17+
<template>
18+
<SplitPanel>
19+
<template #start>
20+
Panel A
21+
</template>
22+
23+
<template #start>
24+
Panel B
25+
</template>
26+
</SplitPanel>
27+
</template>
28+
```
29+
30+
## Usage
31+
32+
Please refer to [the documentation](https://directus.github.io/vue-split-panel/) for the full usage guide.
33+
34+
## License
35+
36+
MIT
37+
38+
This project also incorporates third-party software licensed under the MIT
39+
License. See [`ATTRIBUTIONS.md`](https://github.com/directus/vue-split-panel/blob/main/attributions.md) for details.

0 commit comments

Comments
 (0)