diff --git a/README.md b/README.md index 9dcce16..1e76937 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,15 @@ Vue.use(VueLodash, { The filter groups mirror the [official documentation groups](https://lodash.com/docs/). +#### lodash + +Type: `object` + +Use a custom specific lodash instead of the default version of lodash packed with the lib. + --- +## Contributors +[Emmanuel Mahuni](https://github.com/emahuni) ## License @@ -91,4 +99,4 @@ Released with [MIT License](./LICENSE) © [codekraft-studio](https://github.com/ [daviddm-url]: https://david-dm.org/codekraft-studio/vue-lodash [license-url]: https://github.com/codekraft-studio/vue-lodash/blob/master/LICENSE -[license-image]: https://img.shields.io/badge/license-MIT-blue.svg \ No newline at end of file +[license-image]: https://img.shields.io/badge/license-MIT-blue.svg diff --git a/lib/index.js b/lib/index.js index 07a5074..c587366 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,7 +4,8 @@ import filters from './filters' export default function install(Vue, options = { alias: false, - filters: true + filters: true, + lodash: lodash }) { // Register lodash to vue instance diff --git a/package.json b/package.json index e907dfd..bd0b1c5 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@codekraft-studio/vue-lodash", + "name": "vue-lodash", "description": "Lodash integration and filters for Vue", "version": "0.2.0", "main": "dist/VueLodash.umd.js",