Skip to content

Commit

Permalink
Added demo app
Browse files Browse the repository at this point in the history
Added reactivity for component props
  • Loading branch information
kirillmurashov committed May 3, 2018
1 parent a507962 commit 352d4d5
Show file tree
Hide file tree
Showing 29 changed files with 1,190 additions and 437 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
* [Contributing](#contributing)
* [License](#license)

### Demo

[Demo](http://kirillmurashov.com/vue-drag-resize)

### Features

* A lightweight, no-dependency
Expand Down Expand Up @@ -237,7 +241,7 @@ Type: `String`<br>
Required: `false`<br>
Default: `both`

Define the axis on which the element is draggable. Available values are `x`, `y` or `both`.
Define the axis on which the element is draggable. Available values are `x`, `y`, `both` or `none`.

```html
<vue-drag-resize axis="x">
Expand Down
2 changes: 1 addition & 1 deletion config/dev.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
entry: {
"app": './src/app.js'
"app": './src/demo/app.js'
},
build: {
env: '"development"',
Expand Down
3 changes: 2 additions & 1 deletion config/prod.conf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
entry: {
"index": './src'
"index": './src',
"demo": './src/demo/app'
},
build: {
env: '"production"',
Expand Down
Loading

0 comments on commit 352d4d5

Please sign in to comment.