vue-sauce icon indicating copy to clipboard operation
vue-sauce copied to clipboard

"View source" directive for Vue

vue-sauce

"View source" directive for Vue 🍝

About

Automatically append up-to-date html documentation to your elements.

screenshot

Installation

npm install --save vue-sauce

npm package link

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