vue-file-type-icon

1.0.1 • Public • Published

vue-file-type-icon

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Lints and fixes files

yarn lint

Customize configuration

See Configuration Reference.

Examples

main.js

// 导入组件库
import VueFileTypeIcon from 'vue-file-type-icon'

// 注册组件库
Vue.use(VueFileTypeIcon)

examples.vue

<template>
  <vue-file-type-icon type="xxx.png" size="100px"/>
</template>

<script>
export default {
  name: 'examples'
}
</script>

<style scoped>

</style>

Readme

Keywords

none

Package Sidebar

Install

npm i vue-file-type-icon

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

301 kB

Total Files

32

Last publish

Collaborators

  • charon-npm