https://github.com/chrismichaelps/lo
Lo is a Vuejs plugin that includes all the functionalities of lodash.
https://github.com/chrismichaelps/lo
vue-lo vue-lodash vue-plugin
Last synced: 2 months ago
JSON representation
Lo is a Vuejs plugin that includes all the functionalities of lodash.
- Host: GitHub
- URL: https://github.com/chrismichaelps/lo
- Owner: chrismichaelps
- License: mit
- Created: 2021-02-16T02:18:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-17T13:07:15.000Z (over 4 years ago)
- Last Synced: 2025-02-03T15:43:29.570Z (4 months ago)
- Topics: vue-lo, vue-lodash, vue-plugin
- Language: HTML
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Lo is a Vuejs plugin that includes all the functionalities of lodash.
![]()
![]()
![]()
## 📦 References
- [x] [lodash](https://github.com/lodash/lodash) A modern JavaScript utility library delivering modularity, performance, & extras.## Installation
```shell
npm i @chris5855/vue-lo
#or
yarn add @chris5855/vue-lo
```You must install lo as a plugin via Vue.use().
```js
import Vue from 'vue';
import lo from '@chris5855/vue-lo';Vue.use(lo);
```## Access to lodash methods (Example)
## context.root.$_.[method]```js
export default {
name: 'App',
setup(props, context) {
let object = {
'a': [{ 'b': 2 }, { 'd': 4 }]
};
let other = {
'a': [{ 'c': 3 }, { 'e': 5 }]
};
let merge = context.root.$_.merge(object, other);
console.log(merge);
return{}
}
}```
## **:handshake: Contributing**
- Fork it!
- Create your feature branch: `git checkout -b my-new-feature`
- Commit your changes: `git commit -am 'Add some feature'`
- Push to the branch: `git push origin my-new-feature`
- Submit a pull request---
### **:busts_in_silhouette: Credits**
- [Chris Michael](https://github.com/ChrisMichaelPerezSantiago) (Project Leader, and Developer)
---
### **:anger: Troubleshootings**
This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may
not be a good fit for your project(s).---
### **:heart: Show your support**
Please :star: this repository if you like it or this project helped you!\
Feel free to open issues or submit pull-requests to help me improving my work.---
### **:robot: Author**
_*Chris Michael*_
> You can follow me on
[github](https://github.com/ChrisMichaelPerezSantiago) · [twitter](https://twitter.com/Chris5855M)---
Copyright © Lo 2021