vue-moment
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "vue-moment", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Handy Moment.js filters for your Vue.js project", | ||
@@ -11,3 +11,3 @@ "main": "vue-moment.js", | ||
"type": "git", | ||
"url": "git+https://github.com/brockpetrie/vue-moment.git" | ||
"url": "git+https://github.com/brockreece/vue-moment.git" | ||
}, | ||
@@ -25,5 +25,5 @@ "keywords": [ | ||
"bugs": { | ||
"url": "https://github.com/brockpetrie/vue-moment/issues" | ||
"url": "https://github.com/brockreece/vue-moment/issues" | ||
}, | ||
"homepage": "https://github.com/brockpetrie/vue-moment#readme", | ||
"homepage": "https://github.com/brockreece/vue-moment#readme", | ||
"dependencies": { | ||
@@ -30,0 +30,0 @@ "moment": "^2.11.1", |
@@ -5,13 +5,8 @@ # vue-moment | ||
### Notes | ||
* This plugin is based on this [repo] (http://github.com/brockpetrie/vue-moment) | ||
## Installation | ||
Download [Moment.js](http://www.momentjs.com) and place it in your project directory along with `vue-moment`, and include both in your application. | ||
```html | ||
<script src="../moment/moment.min.js"></script> | ||
<script src="../vue-moment.min.js"></script> | ||
``` | ||
### Or | ||
Install module with NPM and install plugin like so | ||
@@ -25,3 +20,3 @@ | ||
Simply set `moment` as the filtering function and you're good to go. At least one argument is expected, which the filter assumes to be a `format` string if the argument doesn't match any of the other filtering methods. | ||
Simply set `moment` as the filtering function and you're good to go. At least one argument is expected, which the filter assumes to be a `format` string if the argument doesn't match any of the other filtering methods. | ||
@@ -37,3 +32,3 @@ ```html | ||
This is the default filtering option. Formats the date against a string of tokens. See <http://momentjs.com/docs/#/displaying/format/> for a list of tokens and examples. | ||
This is the default filtering option. Formats the date against a string of tokens. See <http://momentjs.com/docs/#/displaying/format/> for a list of tokens and examples. | ||
@@ -40,0 +35,0 @@ **Default** |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8441
137