UNPKG

vue-sauce

Version:

"View source" directive for Vue 🍝

28 lines (17 loc) 558 B
# vue-sauce "View source" directive for Vue 🍝 ## About Automatically append up-to-date html documentation to your elements. <img src="screenshot.png" alt="screenshot" width="75%" height="75%"> ## Installation ```bash npm install --save vue-sauce ``` [npm package link](https://www.npmjs.com/package/vue-sauce) ```javascript import Vue from "vue"; import sauce from "vue-sauce"; Vue.directive("sauce", sauce); ``` Simply add v-sauce to the element you want to document. Example: https://byteboomers.github.io/vue-sauce