web components for a integrable atproto based guestbook
at main 511 B view raw
1import { mount } from 'svelte' 2import './app.css' 3import App from './App.svelte' 4 5// Import and configure guestbook components 6import { configureGuestbook } from '../../lib/register'; 7 8// Configure with demo OAuth settings 9configureGuestbook({ 10 oauth: { 11 clientId: import.meta.env.VITE_OAUTH_CLIENT_ID, 12 redirectUri: import.meta.env.VITE_OAUTH_REDIRECT_URL, 13 scope: import.meta.env.VITE_OAUTH_SCOPE, 14 }, 15}); 16 17const app = mount(App, { 18 target: document.getElementById('app')!, 19}) 20 21export default app