initial commit

This commit is contained in:
Alireza Ahmadi
2024-02-13 01:17:03 +01:00
commit f40b27fd8b
136 changed files with 16023 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
/**
* main.ts
*
* Bootstraps Vuetify and other plugins then mounts the App`
*/
// Composables
import { createApp, ref } from 'vue'
// Components
import App from './App.vue'
// Use router
import router from './router'
// Store
import store from './store'
// Plugins
import { registerPlugins } from '@/plugins'
// Locale
import { i18n } from '@/locales'
import Vue3PersianDatetimePicker from 'vue3-persian-datetime-picker'
const loading = ref(false)
const app = createApp(App)
app.provide('loading', loading)
registerPlugins(app)
app
.use(router)
.use(store)
.use(i18n)
.component('DatePicker', Vue3PersianDatetimePicker)
.mount('#app')