0.1.1 • Published 2 years ago
vue-twcaseal v0.1.1
TWCASeal non-official vue2 package
This component simplifies twcaseal.js
use in vue project.
Install
npm i vue-twcaseal
How to use
// in main.js
import VueTwcaSeal from 'vue-twcaseal'
// ...
Vue.use(VueTwcaSeal, '<your site common name>')
// ...
<!-- in template -->
<twca-seal version="v3" logo-type="SMALL" :src="<your twcaseal image uri>"></twca-seal>
Configuration
description | |
---|---|
version | twcaseal version. support v3, v4. default: v4 |
logo-type | twcaseal logo size. support MINI, SMALL. default: MINI |
src | put your twcaseal gif file |
Warning
This component may not work if twcaseal.js is changed by the authorities.