vue-leon
v0.0.2
Published
Vue-leonlibrary
Downloads
2
Readme
vue-leon
vue-leon is a JavaScript library for the Vue framework that wraps LeonSans making it easy to create reactive geometric sans-serif typeface.
How to install
npm install vue-leon --save
Importing the library in Webpack / Rollup
<template>
<vue-leon ref="leon" :options="options" :controll="controll"></vue-leon>
</template>
import VueLeon from "vue-leon";
export default {
components: {
VueLeon
},
data() {
return {
options: {
text: "Hello World",
size: 100,
weight: 200
},
controll: {
points: false,
box: false,
grids: false,
roundCap: false,
multiply: false
}
};
}
};
This will reduce the size of the bundle significantly
Documentation
Coming soon
Authors
Mudin Ibrahim
Contributors
Thanks goes to these wonderful people
License
This project is licensed under the MIT License - see the LICENSE file for details