mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-22 22:02:21 +00:00
30 lines
525 B
JavaScript
30 lines
525 B
JavaScript
import { createApp, ref } from 'vue'
|
|
import { createStore } from 'vuex'
|
|
import App from './App.vue'
|
|
import router from './router'
|
|
|
|
import './assets/tailwind.css'
|
|
|
|
const app = createApp(App)
|
|
|
|
// Create a new store instance.
|
|
const store = createStore({
|
|
state () {
|
|
return {
|
|
// count: 0,
|
|
mountedPersonalities: [],
|
|
settingsChanged:false
|
|
}
|
|
},
|
|
mutations: {
|
|
// increment (state) {
|
|
// state.count++
|
|
// }
|
|
}
|
|
})
|
|
|
|
|
|
app.use(router)
|
|
app.use(store)
|
|
|
|
app.mount('#app') |