@lahautesociete/data-store

1.0.0 • Public • Published

LHS - Vue - DataStore

Libraire utilitaire permettant de parcourir des objets littéraux à la manière de object-path.

Install

yarn add vue-data-store

Usage

Dans un composant Vue :

this.dataStore.get('key');

Dans un template :

<h1 v-text="dataStore('key.tutu.coucou')"></h1>

En vanilla JS :

import DataStore from '@lahautesociete/dataStore/DataStore';
DataStore.getData('key.tutu.coucou');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i @lahautesociete/data-store

Weekly Downloads

2

Version

1.0.0

License

ISC

Last publish

Collaborators

  • lahautesociete