dragoman 0.5.12

Server for scholarly metadata in commonmeta format stored in a SQLite database.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import './app.css'
import { mount } from 'svelte'
import { addCollection } from '@iconify/svelte'
import App from './App.svelte'
import icons from './lib/icons.json'

// The icons the UI uses, bundled (see scripts/icons.mjs): registered before
// the first render, each draws with the page instead of after a request to
// api.iconify.design, which redrew the page a moment later.
for (const collection of icons) addCollection(collection)

const app = mount(App, { target: document.getElementById('app') })

export default app