mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
update app
This commit is contained in:
1 parent
d924ccaaa9
commit
4ddbb5aede
7 files changed
+2
-2
No files matched your search
@@ -0,0 +1,29 @@
|
||||
import { createApp } from 'vue'
|
||||
import './style.css'
|
||||
/* import font awesome icon component */
|
||||
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
||||
import './library'
|
||||
/* import Vue Toastification */
|
||||
import Toast, { POSITION } from 'vue-toastification'
|
||||
/* import Vue Lottie */
|
||||
import Vue3Lottie from 'vue3-lottie'
|
||||
import 'vue-toastification/dist/index.css'
|
||||
|
||||
import App from './App.vue'
|
||||
import router from './router'
|
||||
|
||||
const app = createApp(App)
|
||||
|
||||
app.component('font-awesome-icon', FontAwesomeIcon)
|
||||
|
||||
app.use(router)
|
||||
|
||||
const options = {
|
||||
position: POSITION.TOP_RIGHT,
|
||||
}
|
||||
|
||||
app.use(Toast, options)
|
||||
|
||||
app.use(Vue3Lottie, { name: 'Vue3Lottie' })
|
||||
|
||||
app.mount('#app')
|
||||
Reference in new issue
Block a user