2
0
mirror of https://github.com/tenrok/vue-tribute.git synced 2026-06-18 23:00:35 +03:00

Initial v2 commit

This commit is contained in:
Collin Henderson
2022-01-24 09:40:45 -05:00
commit 03dc35436b
25 changed files with 2646 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<template>
<div id="container">
<vue-tribute :options="options">
<input type="text" class="" placeholder="@..." />
</vue-tribute>
</div>
</template>
<script setup lang="ts">
import VueTribute from '../lib'
const options = {
trigger: '@',
values: [
{ key: 'Collin Henderson', value: 'syropian' },
{ key: 'Sarah Drasner', value: 'sarah_edo' },
{ key: 'Evan You', value: 'youyuxi' },
{ key: 'Adam Wathan', value: 'adamwathan' },
],
positionMenu: true,
}
</script>