mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
chore: move web from packages to apps
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
import { setupApiClient } from './lib/api-client'
|
||||
|
||||
// Configure SDK client before anything else
|
||||
setupApiClient()
|
||||
import { createPinia } from 'pinia'
|
||||
import i18n from './i18n'
|
||||
import { PiniaColada } from '@pinia/colada'
|
||||
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
|
||||
import 'markstream-vue/index.css'
|
||||
import 'katex/dist/katex.min.css'
|
||||
|
||||
// Font Awesome
|
||||
import { library } from '@fortawesome/fontawesome-svg-core'
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
import {
|
||||
fas
|
||||
} from '@fortawesome/free-solid-svg-icons'
|
||||
|
||||
import {
|
||||
far
|
||||
} from '@fortawesome/free-regular-svg-icons'
|
||||
import { fab } from '@fortawesome/free-brands-svg-icons'
|
||||
import { customSearchIcons } from './components/search-provider-logo/custom-icons'
|
||||
|
||||
library.add(
|
||||
far,
|
||||
fab,
|
||||
fas,
|
||||
...customSearchIcons,
|
||||
)
|
||||
|
||||
createApp(App)
|
||||
.component('FontAwesomeIcon', FontAwesomeIcon)
|
||||
.use(createPinia().use(piniaPluginPersistedstate))
|
||||
.use(PiniaColada)
|
||||
.use(router)
|
||||
.use(i18n)
|
||||
.mount('#app')
|
||||
Reference in New Issue
Block a user