Skip to content

Commit

Permalink
feat(input-component): see input-component release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
crsten committed Aug 27, 2018
1 parent 8f14b5f commit af9d7cd
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
12 changes: 12 additions & 0 deletions docs/components/input.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,18 @@ components: {
}
```

## Slots

This component accepts a default slot. The slot replaces the input element.
This is very convenient if you need a more complex input element.
e.g. Google Autocomplete

```html
<input-component>
<google-autocomplete></google-autocomplete>
</input-component>
```

## Props

- [value](#value) `String | Number | Date`
Expand Down
8 changes: 4 additions & 4 deletions docs/getstarted/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ This package and all it's components depends on an alias named **"node_modules"*
//webpack.config.js
module.exports = {
//...
resovle: {
resolve: {
alias: {
node_modules: path.resolve('node_modules)
}
}
node_modules: path.resolve('node_modules'),
},
},
//...
}
```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
},
"dependencies": {
"vue-elder-button": "^1.1.1",
"vue-elder-input": "^1.1.0"
"vue-elder-input": "^1.2.0"
}
}

0 comments on commit af9d7cd

Please sign in to comment.