2021-01-06 19:52:14 +08:00
|
|
|
import { createApp } from 'vue'
|
2021-01-16 00:54:31 +08:00
|
|
|
|
2021-01-22 03:38:17 +08:00
|
|
|
import urql from '@urql/vue';
|
2021-01-16 00:54:31 +08:00
|
|
|
|
2021-04-09 06:37:58 +08:00
|
|
|
import VueSweetalert2 from 'vue-sweetalert2';
|
|
|
|
import 'sweetalert2/dist/sweetalert2.min.css';
|
|
|
|
|
|
|
|
import 'notyf/notyf.min.css';
|
|
|
|
|
2021-01-16 00:54:31 +08:00
|
|
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
|
|
import { library, dom } from '@fortawesome/fontawesome-svg-core'
|
|
|
|
import { fas } from '@fortawesome/free-solid-svg-icons'
|
|
|
|
import { fab } from '@fortawesome/free-brands-svg-icons'
|
|
|
|
|
|
|
|
import LayoutDashboard from './views/layouts/LayoutDashboard.vue';
|
|
|
|
import LayoutEmpty from './views/layouts/LayoutEmpty.vue';
|
|
|
|
|
2021-01-22 03:38:17 +08:00
|
|
|
import './index.css'
|
|
|
|
import './assets/css/style.css'
|
|
|
|
|
|
|
|
import App from './App.vue'
|
|
|
|
import router from './router'
|
|
|
|
import store from './store'
|
|
|
|
|
|
|
|
library.add(fas, fab)
|
|
|
|
dom.watch()
|
|
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
app.component('font-awesome-icon', FontAwesomeIcon)
|
|
|
|
app.component('default-layout', LayoutDashboard)
|
|
|
|
app.component('empty-layout', LayoutEmpty)
|
|
|
|
app.use(urql, { url: 'http://localhost:8000/felicity-gql'})
|
2021-04-09 06:37:58 +08:00
|
|
|
app.use(VueSweetalert2);
|
2021-01-22 03:38:17 +08:00
|
|
|
app.use(router)
|
|
|
|
app.use(store)
|
|
|
|
app.mount('#app')
|