Vue-Zawuni
Font Converter for Zawgyi and Unicode
Installation
Demo
NPM
npm install --save vue-zawuni
CDN
When used with a module system :
Vue
Mount with ssr :
// If used in Nuxt.js / SSR, you should keep it only in browser build environment if processbrowser const VueZawUni = Vue
Usage
<link rel="stylesheet" href='https://mmwebfonts.comquas.com/fonts/?font=mon3' />
<link rel="stylesheet" href='https://mmwebfonts.comquas.com/fonts/?font=zawgyi' />
<style>
.unicode {
font-family: "Pyidaungsu","MON3 Anonta 1" !important;
}
.zawgyi {
font-family: "Zawgyi-One" !important;
}
</style>
Zawgyi => Unicode
-
Example:
<span class="unicode">{{ zawgyi | zawuni('unicode') }}</span>
Unicode => Zawgyi
-
Example:
<span class="zawgyi">{{ unicode | zawuni('zawgyi') }}</span>
Credits
- Rabbit Converter
- All Contributors
License
The MIT License (MIT). Please see License File for more information.