Save And Load Data Across Browser Sessions – VueStorage

Description:

The VueStorage allows components to save and load their data across browser sessions.

Usage:

function() {

  new Vue({
    el: '#App',

    data: {
      storageKey: 'test',
    },

    stored: {
      value: {
        type: JSON,
        key: function() {
          return this.storageKey;
        },
        default: function() {
          return [];
        },
      },
    },
  });

})();

Preview:

VueStorage

Download Details:

Author: SeregPie

Live Demo: https://seregpie.github.io/VueStorage/

Download Link: https://github.com/SeregPie/VueStorage/archive/master.zip

Official Website: https://github.com/SeregPie/VueStorage

Install & Download:

# NPM
$ npm install vuestorage --save

You Might Be Interested In:

Add Comment