Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ajvanho's avatar
Level 14

Pinia doestn work

I am trying to install pinia from docs, but have an error: Error: [🍍]: getActivePinia was called with no active Pinia. Did you forget to install pinia? const pinia = createPinia()

<script setup>

import { useAuthStore } from '../stores/auth'

const authStore = useAuthStore()

</script>
0 likes
1 reply

Please or to participate in this conversation.