set up Pinia

This commit is contained in:
2026-06-07 16:17:53 +02:00
parent 5b9f32c5ee
commit 1270291364
4 changed files with 866 additions and 1061 deletions
+4
View File
@@ -15,6 +15,7 @@ limitations under the License.
*/
import { createApp } from 'vue'
import { createPinia } from 'pinia';
import App from './App.vue'
import { i18n, loadLanguage } from './i18n';
import getCurrentLanguage from './utils/currentLanguage';
@@ -24,7 +25,10 @@ import './styles/variables/colors.css'
await loadLanguage(getCurrentLanguage());
const pinia = createPinia();
createApp(App)
.use(router)
.use(i18n)
.use(pinia)
.mount('#app')