v-cache
The source code for the v-cache Vue Directive.
Installation
// NPMnpm install v-cache --save // Yarnyarn add v-cache
main.js
;; Vue;
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