Notable Pottery Manufacturer

    v-cache

    0.0.4 • Public • Published

    cdd logo
    v-cache

    The source code for the v-cache Vue Directive.

    Watch on GitHub Star on GitHub PRs Welcome

    npm npm npm bundle size (minified + gzip) npm

    Installation

    // NPM
    npm install v-cache --save
     
    // Yarn
    yarn add v-cache

    main.js

    import Vue from 'vue';
    import vCache from 'v-cache';
     
    Vue.directive("cache", vCache);

    Basic Usage

    App.vue

    <template>
      <div id="app">
        
        <!-- Where the magic happens -->
        <custom-form v-cache="'unique-key'" />
    
      </div>
    </template>
    
    <script>
    import CustomForm from "./components/CustomForm.vue"
    
    export default {
      name: "app",
      components: {
        CustomForm
      }
    }
    </script>
    

    Wish List

    • Support for not caching password fields

    LICENSE

    MIT

    Install

    npm i v-cache

    DownloadsWeekly Downloads

    12

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    7.81 kB

    Total Files

    4

    Last publish

    Collaborators

    • dannyrb