Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 994 Bytes

README.md

File metadata and controls

64 lines (40 loc) · 994 Bytes

vue-typing

A simple Vue.js component that simulates typing

Usage

ES6 Modules / CommonJS

$ npm run build
import VueTyping from 'dist/vue-typing';

Vue.component('vue-typing', VueTyping);
<vue-typing text="Hello World!"></vue-typing>

UMD

$ npm run build:umd
<vue-typing text="Hello World!"></vue-typing>

<script src="https://unpkg.com/vue" charset="utf-8"></script>
<script src="./dist/vue-typing.min.js" charset="utf-8"></script>

<script type="text/javascript">
  Vue.component('vue-typing', window.VueTyping);
</script>

Installation

Using yarn

yarn add vue-typing

Using npm

npm i --save vue-typing

Demo and Docs

npm run serve

Tests

This template uses karma with chai by default, you can change test settings in poi.config.js

npm run test npm run test:watch npm run test:cov

License

This project is licensed under MIT License