Skip to content

Commit bb58016

Browse files
docs: update README πŸ“–
1 parent a1d4392 commit bb58016

File tree

1 file changed

+35
-43
lines changed

1 file changed

+35
-43
lines changed

β€ŽREADME.md

Lines changed: 35 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22

33
![logo](./readme-assets/social-logo-small.png)
44

5-
[![Build Status](https://dev.azure.com/prabhummurthy/vue-dock-menu/_apis/build/status/prabhuignoto.vue-dock-menu?branchName=master)](https://dev.azure.com/prabhummurthy/vue-dock-menu/_build/latest?definitionId=8&branchName=master)
6-
[![DeepScan grade](https://deepscan.io/api/teams/10074/projects/13372/branches/223016/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=10074&pid=13372&bid=223016)
7-
[![DeepSource](https://deepsource.io/gh/prabhuignoto/vue-dock-menu.svg/?label=active+issues)](https://deepsource.io/gh/prabhuignoto/vue-dock-menu/?ref=repository-badge)
8-
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/65c2863c31644d5a98ae5bb83c1bd104)](https://www.codacy.com/manual/prabhuignoto/vue-dock-menu/dashboard?utm_source=github.com&utm_medium=referral&utm_content=prabhuignoto/vue-dock-menu&utm_campaign=Badge_Grade)
9-
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/prabhuignoto/vue-dock-menu.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/prabhuignoto/vue-dock-menu/context:javascript)
10-
[![Depfu](https://badges.depfu.com/badges/f3a16c4fe1fcbd36df15d6949d9846bc/overview.svg)](https://depfu.com/github/prabhuignoto/vue-dock-menu?project_id=16495)
11-
[![Known Vulnerabilities](https://snyk.io/test/github/prabhuignoto/vue-dock-menu/badge.svg?targetFile=package.json)](https://snyk.io/test/github/prabhuignoto/vue-dock-menu?targetFile=package.json)
12-
![https://badgen.net/bundlephobia/minzip/vue-dock-menu](https://badgen.net/bundlephobia/minzip/vue-dock-menu)
5+
[![ci](https://github.com/vinayakkulkarni/v-dock-menu/actions/workflows/ci.yml/badge.svg)](https://github.com/vinayakkulkarni/v-dock-menu/actions/workflows/ci.yml)
6+
[![DeepScan grade](https://deepscan.io/api/teams/9055/projects/17446/branches/399662/badge/grade.svg)](https://deepscan.io/dashboard#view=project&tid=9055&pid=17446&bid=399662)
7+
[![DeepSource](https://deepsource.io/gh/vinayakkulkarni/v-dock-menu.svg/?label=active+issues)](https://deepsource.io/gh/vinayakkulkarni/v-dock-menu/?ref=repository-badge)
8+
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/vinayakkulkarni/v-dock-menu.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/vinayakkulkarni/v-dock-menu/context:javascript)
9+
[![Known Vulnerabilities](https://snyk.io/test/github/vinayakkulkarni/v-dock-menu/badge.svg?targetFile=package.json)](https://snyk.io/test/github/vinayakkulkarni/v-dock-menu?targetFile=package.json)
10+
![https://badgen.net/bundlephobia/minzip/v-dock-menu](https://badgen.net/bundlephobia/minzip/v-dock-menu)
1311

1412
![demo](./readme-assets/demo.gif)
1513

@@ -21,13 +19,13 @@
2119
- 🀏  Dock the Menubar by dragging and dropping to the edges of the screen.
2220
- πŸ‘†  Touch support.
2321
- πŸ‘  Support for nested menus up to any levels.
24-
- πŸ‘“  The Menus adjust to any docked position and enables an intuitive menu navigation.
25-
- ⌨  Keyboard Accessible.
26-
- 🎨  Icon support.
27-
- ⚑  Zero dependencies.
28-
- πŸ’ͺ  Built with [Typescript](https://www.typescriptlang.org/).
29-
- 🧰  Intuitive [API](#props) with data driven behavior.
30-
- 🌠  Built with the all new [Vue 3](https://v3.vuejs.org/).
22+
- πŸ‘“   The Menus adjust to any docked position and enables an intuitive menu navigation.
23+
- ⌨   Keyboard Accessible.
24+
- 🎨   Icon support.
25+
- ⚑   Zero dependencies.
26+
- πŸ’ͺ   Built with [TypeScript](https://www.typescriptlang.org/).
27+
- 🧰   Intuitive [API](#props) with data driven behavior.
28+
- 🌠   Built with the all new [Composition API](https://github.com/vuejs/composition-api) for [Vue 2](https://vuejs.org/v2/guide/)
3129

3230
<h2>Table of Contents</h2>
3331

@@ -43,30 +41,30 @@
4341
- [πŸ“¦ Build Setup](#-build-setup)
4442
- [πŸ”¨ Contributing](#-contributing)
4543
- [🧱 Built with](#-built-with)
46-
- [πŸ“„ Notes](#-notes)
44+
- [πŸ“œ Notes](#-notes)
4745
- [Meta](#meta)
4846

4947
## ⚑ Installation
5048

5149
```sh
52-
yarn install vue-dock-menu
50+
npm install v-dock-menu
5351
```
5452

5553
## πŸš€ Getting Started
5654

57-
`vue-dock-menu` has some great defaults. Please check the [prop](#Props) section for all available options.
55+
`v-dock-menu` has some great defaults. Please check the [prop](#Props) section for all available options.
5856

5957
The following snippet creates a simple Menubar and docks it to the `top` of the page.
6058

6159
```sh
6260
<template>
63-
<vue-dock-menu :items="items">
64-
</vue-dock-menu>
61+
<v-dock-menu :items="items">
62+
</v-dock-menu>
6563
</template>
6664

6765
<script>
68-
import { DockMenu } from "vue-dock-menu";
69-
import "vue-dock-menu/dist/vue-dock-menu.css";
66+
import { DockMenu } from "v-dock-menu";
67+
import "v-dock-menu/dist/v-dock-menu.css";
7068

7169
export default {
7270
name: "example",
@@ -101,7 +99,7 @@ export default {
10199
| on-selected | Callback that will be called on a menu item selection | |
102100
| items | Data for the Menu bar | [] |
103101
| theme | prop to customize the color theme | |
104-
| draggable | enables/disbales dragging on the menubar. | True |
102+
| draggable | enables/disbales dragging on the menubar. | false |
105103
106104
### βš“ Dock
107105
@@ -110,10 +108,10 @@ use the `dock` prop to dock the menubar to your preferred position. The prop can
110108
Here we dock the Menu bar to the right side of the screen.
111109
112110
```sh
113-
<vue-dock-menu>
111+
<v-dock-menu>
114112
:items="items"
115113
dock="RIGHT"
116-
</vue-dock-menu>
114+
</v-dock-menu>
117115
```
118116
119117
### πŸ“‘ on-selected
@@ -169,10 +167,10 @@ const items = [
169167
```
170168
171169
```sh
172-
<vue-dock-menu>
170+
<v-dock-menu>
173171
:items="items"
174172
dock="BOTTOM"
175-
</vue-dock-menu>
173+
</v-dock-menu>
176174
```
177175
178176
### 🎨 Custom color scheme
@@ -267,51 +265,45 @@ export default defineComponent({
267265
268266
## What's coming next
269267
270-
- support for react.
271-
- accordion style rendering on sidebar mode.
268+
- Ability to position individual Menu Items
269+
- Refactor using tailwind v2.x and remove all custom-css
272270
273271
## πŸ“¦ Build Setup
274272
275273
``` bash
276274
# install dependencies
277-
yarn install
275+
npm install
278276
279277
# start dev
280-
yarn run dev
278+
npm run dev
281279
282280
# package lib
283281
npm run rollup
284282
285283
# run css linting
286-
yarn run lint:css
284+
npm run lint:css
287285
```
288286
289287
## πŸ”¨ Contributing
290288
291-
1. Fork it ( [https://github.com/prabhuignoto/vue-dock-menu/fork](https://github.com/prabhuignoto/vue-dock-menu/fork) )
289+
1. Fork it ( [https://github.com/vinayakkulkarni/v-dock-menu/fork](https://github.com/vinayakkulkarni/v-dock-menu/fork) )
292290
2. Create your feature branch (`git checkout -b new-feature`)
293291
3. Commit your changes (`git commit -am 'Add feature'`)
294292
4. Push to the branch (`git push origin new-feature`)
295293
5. Create a new Pull Request
296294
297295
## 🧱 Built with
298296
299-
- [Typescript](typescript).
297+
- [TypeScript](https://www.typescriptlang.org/).
300298
301-
## πŸ“„ Notes
302-
303-
- The project uses [vite](vite) instead of @vue/cli. I choose vite for speed and i also believe [vite](vite) will be the future.
299+
## πŸ“œ Notes
304300
301+
This is a fork of the original [vue-dock-menu](https://github.com/prabhuignoto/vue-dock-menu) by [prabhuignoto](https://github.com/prabhuignoto) which supports Vue 2.
305302
## Meta
306303
307-
Prabhu Murthy – [@prabhumurthy2](https://twitter.com/prabhumurthy2) – prabhu.m.murthy@gmail.com
308-
309-
[https://www.prabhumurthy.com](https://www.prabhumurthy.com)
310-
311304
Distributed under the MIT license. See `LICENSE` for more information.
312305
313-
[https://github.com/prabhuingoto/](https://github.com/prabhuignoto/)
306+
[https://github.com/vinayakkulkarni/](https://github.com/vinayakkulkarni/)
314307
315308
[vue]: https://vuejs.org
316309
[typescript]: https://typescriptlang.org
317-
[vite]: https://github.com/vitejs/vite

0 commit comments

Comments
Β (0)