chamesu
Version:
This package contains all packages of the chat application.
20 lines (17 loc) • 514 B
JavaScript
/*
* Copyright (c) 2022.
* Author Peter Placzek (tada5hi)
* For the full copyright and license information,
* view the LICENSE file that was distributed with this source code.
*/
import Vue from 'vue'
import vueTimeago from 'vue-timeago';
Vue.use(vueTimeago, {
name: 'Timeago', // Component name, `Timeago` by default
locale: 'de', // Default locale
// We use `date-fns` under the hood
// So you can use all locales from it
locales: {
de: require('date-fns/locale/de')
}
});