Skip to content

Commit 352d4d5

Browse files
Added demo app
Added reactivity for component props
1 parent a507962 commit 352d4d5

29 files changed

+1190
-437
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
* [Contributing](#contributing)
1212
* [License](#license)
1313

14+
### Demo
15+
16+
[Demo](http://kirillmurashov.com/vue-drag-resize)
17+
1418
### Features
1519

1620
* A lightweight, no-dependency
@@ -237,7 +241,7 @@ Type: `String`<br>
237241
Required: `false`<br>
238242
Default: `both`
239243

240-
Define the axis on which the element is draggable. Available values are `x`, `y` or `both`.
244+
Define the axis on which the element is draggable. Available values are `x`, `y`, `both` or `none`.
241245

242246
```html
243247
<vue-drag-resize axis="x">

config/dev.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
entry: {
3-
"app": './src/app.js'
3+
"app": './src/demo/app.js'
44
},
55
build: {
66
env: '"development"',

config/prod.conf.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module.exports = {
22
entry: {
3-
"index": './src'
3+
"index": './src',
4+
"demo": './src/demo/app'
45
},
56
build: {
67
env: '"production"',

0 commit comments

Comments
 (0)