mirror of
https://github.com/tenrok/vue-context.git
synced 2026-06-21 23:40:32 +03:00
Update readme and changelog
This commit is contained in:
@@ -2,6 +2,17 @@
|
|||||||
|
|
||||||
All notable changes to this project will be documented here.
|
All notable changes to this project will be documented here.
|
||||||
|
|
||||||
|
<a name="4.1.0"></a>
|
||||||
|
## [4.1.0](https://github.com/rawilk/vue-context/releases/tag/4.0.3)
|
||||||
|
|
||||||
|
Released 2019-10-11
|
||||||
|
|
||||||
|
## Breaking changes 4.1.0
|
||||||
|
- Move menu styles from js to its own stylesheet ([#36](https://github.com/rawilk/vue-context/issues/36))
|
||||||
|
|
||||||
|
## Changes 4.1.0
|
||||||
|
- 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))
|
||||||
|
|
||||||
<a name="4.0.3"></a>
|
<a name="4.0.3"></a>
|
||||||
## [4.0.3](https://github.com/rawilk/vue-context/releases/tag/4.0.3)
|
## [4.0.3](https://github.com/rawilk/vue-context/releases/tag/4.0.3)
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
[](https://vuejs.org)
|
[](https://vuejs.org)
|
||||||
|
|
||||||
`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.
|
`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.
|
||||||
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
|
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
|
||||||
overridden by your own styles.
|
overridden by your own styles.
|
||||||
<br><br>
|
<br><br>
|
||||||
The menu disappears when you expect by utilizing `vue-clickaway` and it also optionally disappears when clicked on.
|
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
|
|||||||
</div>
|
</div>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Notice:** As of version **4.1.0**, the menu styles are not automatically included by default anymore.
|
||||||
|
> You will need to manually import them now in your own stylesheets.
|
||||||
|
|
||||||
|
```bash
|
||||||
|
@import '~vue-context/dist/css/vue-context.css';
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation/Demo
|
## Documentation/Demo
|
||||||
|
|
||||||
For full documentation and demos, go here: https://vue-context.com/docs
|
For full documentation and demos, go here: https://vue-context.com/docs
|
||||||
|
|||||||
Reference in New Issue
Block a user