Files
alhp-web/frontend/src/main.ts
vikingowl 43ce135fc6 Add Pinia for state management and API data handling.
Introduced Pinia as the state management library and integrated it with the app. Implemented an `ApiClient` utility and a `dataStore` to fetch, categorize, and manage packages and stats data. Updated application entry to include Pinia and adjusted dependencies in `package.json`.
2025-04-14 21:38:48 +02:00

15 lines
288 B
TypeScript

import { registerPlugins } from '@/plugins'
import App from './App.vue'
import { createApp } from 'vue'
import '@/assets/styles/base.scss'
import { createPinia } from 'pinia'
const pinia = createPinia()
const app = createApp(App)
app.use(pinia)
registerPlugins(app)
app.mount('#app')