1.0.2 • Published 3 years ago

vue-colorful-font v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago
  1. npm install vue-colorful-font
  2. import the component
<template>
  <div>
    <ColorfulFont :content="content" :fontSize="fontSize" />
  </div>
</template>

<script>
import ColorfulFont from "vue-colorful-font";
export default {
  name: "About",
  components: {
    ColorfulFont,
  },
  data() {
    return {
      content: "wccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
      fontSize: "100px",
    };
  },
  mounted() {},
};
</script>

<style>
</style>
  1. the component accepts two props:
  • content:whatever content you want to show us ~
  • fontSize:literally what this prop's name means