tailor-teaching-elements
Version:
Tailor teaching elements
46 lines (32 loc) • 1.68 kB
Markdown
# Tailor teaching elements
[](https://circleci.com/gh/extensionengine/tailor-teaching-elements)
[](https://bundlephobia.com/result?p=tailor-teaching-elements)
[](https://npm.im/tailor-teaching-elements)
[](https://github.com/extensionengine/tailor-teaching-elements/blob/develop/LICENSE)
[](https://github.com/extensionengine/eslint-config)
[](https://github.com/ExtensionEngine/stylelint-config)
[](https://github.com/ellerbrock/open-source-badge/)
Vue.js library for [Tailor](https://github.com/ExtensionEngine/tailor)'s teaching elements presentation
## Usage
### Install via npm
`npm i tailor-teaching-elements`
### Register component
#### As global component
```js
import Vue from 'vue';
import tailorTeachingElements from 'tailor-teaching-elements';
Vue.component('tailor-teaching-elements', tailorTeachingElements);
```
##### OR
#### Import locally in components
```html
<script>
import tailorTeachingElements from 'tailor-teaching-elements';
export default {
// ...
components: {
tailorTeachingElements
}
};
</script>
```