elk/plugins/masto.ts

9 lines
172 B
TypeScript
Raw Normal View History

2022-11-14 02:20:07 +00:00
import { login } from 'masto'
export default defineNuxtPlugin((nuxt) => {
const masto = login({
url: 'https://mas.to',
})
nuxt.vueApp.provide('masto', masto)
})