Skip to content

Commit

Permalink
Release 1.2.2
Browse files Browse the repository at this point in the history
Release 1.2.2
  • Loading branch information
smaharj1 authored Jan 12, 2021
2 parents df82d3d + 5ad3dcb commit 621f942
Show file tree
Hide file tree
Showing 4 changed files with 515 additions and 205 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.2.2]

### Changed

- Added documentation on SSR/Nuxt
## [1.2.1]
### Changed
- Modified the button design
Expand Down
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,28 @@ To modify the CSS style, you can override these css classes from your component:
```

## Support for SSR/Nuxt
Currently, Server Side Rendering is **not** supported. To use it in SSR/Nuxt project, you need to specify Nuxt that this plugin needs to render on the client side.

To specify Nuxt to render it on client-side, create a JS file under `~/plugins/` or add to existing one:

`~/plugins/vue-drap-n-drop.js`
```
import Vue from 'vue';
import DragDrop from 'vue-drag-n-drop';
Vue.use(DragDrop);
```

Add the plugin to `nuxt.config.js`
```
plugins: [
{
src: './plugins/vue-drag-n-drop.js',
ssr: false
}
],
```
## Contributions
Feel free to raise an issue or create a Pull Request if you see ways that can improve this library.

Expand Down
Loading

0 comments on commit 621f942

Please sign in to comment.