38 lines
689 B
TypeScript
38 lines
689 B
TypeScript
|
|
import { createApp } from 'vue'
|
||
|
|
import { createPinia } from 'pinia'
|
||
|
|
import { Dialog, Notify, Quasar } from 'quasar'
|
||
|
|
|
||
|
|
import App from './App.vue'
|
||
|
|
import router from './router'
|
||
|
|
import quasarUserOptions from './quasar-user-options'
|
||
|
|
|
||
|
|
import 'quasar/src/css/index.sass'
|
||
|
|
import th from 'quasar/lang/th'
|
||
|
|
|
||
|
|
// import './assets/main.css'
|
||
|
|
|
||
|
|
const app = createApp(App)
|
||
|
|
const pinia = createPinia()
|
||
|
|
|
||
|
|
app.use(pinia)
|
||
|
|
app.use(router)
|
||
|
|
|
||
|
|
app.use(
|
||
|
|
Quasar,
|
||
|
|
{
|
||
|
|
plugins: {
|
||
|
|
Notify,
|
||
|
|
Dialog
|
||
|
|
}, // import Quasar plugins and add here
|
||
|
|
config: {
|
||
|
|
notify: {
|
||
|
|
/* look at QuasarConfOptions from the API card */
|
||
|
|
}
|
||
|
|
},
|
||
|
|
lang: th
|
||
|
|
},
|
||
|
|
quasarUserOptions
|
||
|
|
)
|
||
|
|
|
||
|
|
app.mount('#app')
|