Skip to content

Getting Started

Here is a set of instructions to help you install this component library

Setup

First make sure that this library is compatible with your version of Vue

In your package.json, you shall have the dependencies compatible with the following:

json
"dependencies": {
  "vue": "^3.2.25"
}

Then you can install the package from npm

shell
npm i vue-gif-emoji-picker

In your main.ts, you can import the CSS stylesheet globally:

ts
import 'vue-gif-emoji-picker/dist/style.css'

You can also import this stylesheet wherever a component is used.

Import components from this library in your own component:

html
<script setup lang="ts">
    import {GifPicker} from 'vue-gif-emoji-picker';
</script>