Skip to content
This repository was archived by the owner on Oct 5, 2022. It is now read-only.

Commit 7b12e1a

Browse files
committed
Update readme and changelog
1 parent c530f3b commit 7b12e1a

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All notable changes to this project will be documented here.
44

5+
<a name="4.1.0"></a>
6+
## [4.1.0](https://github.com/rawilk/vue-context/releases/tag/4.0.3)
7+
8+
Released 2019-10-11
9+
10+
## Breaking changes 4.1.0
11+
- Move menu styles from js to its own stylesheet ([#36](https://github.com/rawilk/vue-context/issues/36))
12+
13+
## Changes 4.1.0
14+
- Remove core-js as a dependency in favor of local polyfills for a smaller build size ([#33](https://github.com/rawilk/vue-context/issues/33))
15+
516
<a name="4.0.3"></a>
617
## [4.0.3](https://github.com/rawilk/vue-context/releases/tag/4.0.3)
718

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![VueJS version](https://img.shields.io/badge/vue.js-2.x-green.svg?style=for-the-badge)](https://vuejs.org)
88

99
`vue-context` provides a simple yet flexible context menu for Vue. It is styled for the standard `<ul>` tag, but any menu template can be used.
10-
The menu is lightweight with its only dependencies being `vue-clickaway` and `core-js`. The menu has some basic styles applied to it but they can be easily
10+
The menu is lightweight with its only dependency being `vue-clickaway`. The menu has some basic styles applied to it but they can be easily
1111
overridden by your own styles.
1212
<br><br>
1313
The menu disappears when you expect by utilizing `vue-clickaway` and it also optionally disappears when clicked on.
@@ -70,6 +70,13 @@ Next add an element to the page that will trigger the context menu to appear, an
7070
</div>
7171
```
7272

73+
> **Notice:** As of version **4.1.0**, the menu styles are not automatically included by default anymore.
74+
> You will need to manually import them now in your own stylesheets.
75+
76+
```bash
77+
@import '~vue-context/dist/css/vue-context.css';
78+
```
79+
7380
## Documentation/Demo
7481

7582
For full documentation and demos, go here: https://vue-context.com/docs

0 commit comments

Comments
 (0)