Skip to content

Commit a55560d

Browse files
Merge branch 'master' into master
2 parents 6026154 + f474e48 commit a55560d

File tree

14 files changed

+15920
-6923
lines changed

14 files changed

+15920
-6923
lines changed

.babelrc

Lines changed: 0 additions & 26 deletions
This file was deleted.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ test/unit/coverage
1010
yarn-debug.log*
1111
yarn-error.log*
1212
.idea
13-
package-lock.json
13+
yarn.lock
1414
TODO

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,21 @@ A datepicker Vue component. Compatible with Vue 2.x
1717
- [Highlighted dates](#highlighted-dates)
1818
- [Translations](#translations)
1919

20-
NB. Vue 1.x was supported up to version v0.9.9. If you want to use this component with Vue 1.x you can install with `yarn install vuejs-datepicker@0.9.9`
20+
NB. Vue 1.x was supported up to version v0.9.9. If you want to use this component with Vue 1.x you can install with `npm install vuejs-datepicker@0.9.9`
2121

2222
## Demo
2323

2424
To view a demo online:
2525
https://codesandbox.io/s/mpklq49wp
2626

27-
To view demo examples locally clone the repo and run `yarn install && yarn serve`
27+
To view demo examples locally clone the repo and run `npm install && npm run serve`
2828

2929
## Install
3030

3131
``` bash
3232
npm install vuejs-datepicker --save
3333
```
34-
or
35-
``` bash
36-
yarn add vuejs-datepicker
37-
```
34+
3835

3936
``` javascript
4037
import Datepicker from 'vuejs-datepicker';
@@ -220,7 +217,7 @@ var state = {
220217
}
221218
}
222219
</script>
223-
<datepicker :disabledDates="state.disabledDates"></datepicker>
220+
<datepicker :disabled-dates="state.disabledDates"></datepicker>
224221
```
225222

226223
## Highlighted Dates
@@ -355,6 +352,7 @@ Available languages
355352
| lb | Luxembourgish | |
356353
| lt | Lithuanian | |
357354
| lv | Latvian | |
355+
| mk | Macedonian | |
358356
| mn | Mongolian | |
359357
| nbNO | Norwegian Bokmål | |
360358
| nl | Dutch | |

babel.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module.exports = {
2+
'presets': [
3+
['@babel/preset-env', {
4+
'modules': false
5+
}]
6+
],
7+
'env': {
8+
'test': {
9+
'plugins': ['@babel/plugin-transform-modules-commonjs']
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)