2023-06-14 15:23:13 +00:00
|
|
|
import { createApp, ref } from 'vue'
|
2023-06-13 15:09:25 +00:00
|
|
|
import { createStore } from 'vuex'
|
2023-05-02 20:53:27 +00:00
|
|
|
import App from './App.vue'
|
|
|
|
import router from './router'
|
|
|
|
|
|
|
|
import './assets/tailwind.css'
|
|
|
|
|
|
|
|
const app = createApp(App)
|
|
|
|
|
2023-06-13 15:09:25 +00:00
|
|
|
// Create a new store instance.
|
|
|
|
const store = createStore({
|
|
|
|
state () {
|
|
|
|
return {
|
2023-06-17 10:53:40 +00:00
|
|
|
// count: 0,
|
2023-06-28 10:10:43 +00:00
|
|
|
mountedPersonalities: [],
|
2023-06-17 10:53:40 +00:00
|
|
|
settingsChanged:false
|
2023-06-13 15:09:25 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
mutations: {
|
2023-06-17 10:53:40 +00:00
|
|
|
// increment (state) {
|
|
|
|
// state.count++
|
|
|
|
// }
|
2023-06-13 15:09:25 +00:00
|
|
|
}
|
|
|
|
})
|
|
|
|
|
|
|
|
|
2023-05-02 20:53:27 +00:00
|
|
|
app.use(router)
|
2023-06-13 15:09:25 +00:00
|
|
|
app.use(store)
|
2023-05-02 20:53:27 +00:00
|
|
|
|
2023-05-29 10:38:02 +00:00
|
|
|
app.mount('#app')
|