update app

This commit is contained in:
Chen, Tai-Lin committed 2024-03-04 23:35:05 +08:00
1 parent d924ccaaa9
commit 4ddbb5aede
7 files changed
+2 -2

No files matched your search

+29
View File
@@ -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')