vue-x-ruler
v1.1.0
Published
## install
Downloads
1
Readme
A ruler component for vue 2.x
install
npm i vue-x-ruler
Usage
<template>
<div id="app">
<vue-x-ruler>
Any text or component here
</vue-x-ruler>
</div>
</template>
<script>
import Vue from 'vue';
import VueXRuler from 'vue-x-ruler';
import 'vue-x-ruler/lib/vue-x-ruler.css';
Vue.use(VueXRuler);
export default {
name: 'App',
components: {},
};
</script>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
margin-top: 60px;
}
</style>