This component simplifies twcaseal.js
use in vue project.
npm i vue-twcaseal
// 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="require('@/assets/<twcaseal image>')"></twca-seal>
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 |
This component may not work if twcaseal.js is changed by the authorities.