Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/byteboomers/vue-sauce
"View source" directive for Vue
https://github.com/byteboomers/vue-sauce
vue vue-sauce vuejs2
Last synced: about 2 months ago
JSON representation
"View source" directive for Vue
- Host: GitHub
- URL: https://github.com/byteboomers/vue-sauce
- Owner: byteboomers
- License: mit
- Created: 2018-04-04T09:48:19.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-15T10:40:24.000Z (over 5 years ago)
- Last Synced: 2024-05-29T03:12:18.482Z (9 months ago)
- Topics: vue, vue-sauce, vuejs2
- Language: HTML
- Homepage: https://byteboomers.github.io/vue-sauce
- Size: 346 KB
- Stars: 90
- Watchers: 6
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-sauce
"View source" directive for Vue 🍝
## About
Automatically append up-to-date html documentation to your elements.
## 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