1.1.1 • Published 5 years ago
vue-code-example v1.1.1
vue-code-example
This package is used to show raw code examples
Styling of the code example is not provided in this package
This package is only tested with html
Setup
import CodeExample from 'vue-code-example';
Vue.component('code-example', CodeExample);
Usage
<code-example code="<h1>Test</h1>"></code-example>
<code-example code="<h1>Test</h1>" :spaces="4"></code-example>
Props:
code - required
spaces - not required / default : 0