feat: use masto client
This commit is contained in:
parent
4adab40932
commit
90c45b435f
14 changed files with 96 additions and 205 deletions
8
plugins/masto.ts
Normal file
8
plugins/masto.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
import { login } from 'masto'
|
||||
|
||||
export default defineNuxtPlugin((nuxt) => {
|
||||
const masto = login({
|
||||
url: 'https://mas.to',
|
||||
})
|
||||
nuxt.vueApp.provide('masto', masto)
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue