vue-coe-highlight
highlight component for vuejs/javascript
Last updated 2 years ago by viniazvd .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vue-coe-highlight 
SYNC missed versions from official npm registry.

Project setup

yarn install vue-coe-highlight

Example

<template>
  <div id="app">
    <vue-coe-hightlight :code="code"></vue-coe-hightlight>
    <vue-coe-hightlight>{{ code }}</vue-coe-hightlight>
  </div>
</template>

<script>
import VueCoeHightlight from './VueCoeHightlight.js'

export default {
  name: 'vue-coe-highlight',

  components: { VueCoeHightlight },

  data () {
    return {
      code: `<template>
        <div id="app">
          <vue-coe-hightlight :code="code"></vue-coe-hightlight>
          <vue-coe-hightlight>{{ code }}</vue-coe-hightlight>
        </div>
      </template>`
    }
  }
}
</script>

Current Tags

  • 0.0.2                                ...           latest (2 years ago)

3 Versions

  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |