vue-sauce

"View source" directive for Vue.

Installation

npm install --save vue-sauce
import Vue from 'vue';
import sauce from 'vue-sauce';
Vue.directive('sauce', sauce);

Simply add v-sauce to the element you want to document.

Powered by

  • Babel
  • Webpack 4

GitHub