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`.
15 lines
288 B
TypeScript
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')
|