The Wayback Machine - https://web.archive.org/web/20230108151854/https://github.com/lusaxweb/vuecode
Skip to content

lusaxweb/vuecode

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

vuecode

Browser Support

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

Quick-start CDN

<!DOCTYPE html>
<title>vuecode demo</title>
<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/vuecode.js/dist/vuecode.umd.js"></script>
<link rel="stylesheet" href="https://unpkg.com/vuecode.js/dist/vuecode.css">

<div id="app">
  <vuecode title="Add new proyect vuecode">
    <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>
  </vuecode>
</div>

<script>
new Vue({
}).$mount('#app')
</script>

CDN

Install en Proyecto NPM

# npm
npm install vuecode.js
# yarn
yarn add vuecode.js

Use

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

License

MIT

About

Vuecode it is a component to show the code without complication

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published