viewcode

view Code for Vue js

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
viewcode
2310.0.274 years ago4 years agoMinified + gzip package size for viewcode in KB

Readme

vuecode

Browser Support

Recent versions of Firefox, Chrome, Edge, Opera and Safari. IE10+

Quick-start CDN

```html vuecode demo
<div slot="demo">
<button class="btn" type="button" name="button">Example</button>
</div>
<div slot="code">
```js{1,6} var btn = document.querySelector('.btn') btn.addEventListener( 'click' , function(){ console.log('click') }) `/
</div>
```

CDN

  • https://unpkg.com/vuecode.js/dist/vuecode.umd.js
  • https://unpkg.com/vuecode.js/dist/vuecode.css

Install en Proyecto NPM

``` bash
npm
npm install vuecode.js ``` ``` bash
yarn
yarn add vuecode.js ```

Use

```javascript import Vue from 'vue' import Vuecode from 'vuecode.js' import 'vuecode.js/dist/vuecode.css' Vue.use(Vuecode) ```

Become a Patron

Vuecode is an open source MIT project if you want to contribute to keep improving, If you are interested in supporting this project, please consider becoming a patron. patron

Lusaxweb

This library was created and is supported by Lusaxweb