lollms-webui/web/src/main.js
2023-06-13 18:09:25 +03:00

29 lines
476 B
JavaScript

import { createApp } 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,
settingsChanged:Boolean
}
},
mutations: {
increment (state) {
state.count++
}
}
})
app.use(router)
app.use(store)
app.mount('#app')