Level 51
Jun 6, 2022
1
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>
Please or to participate in this conversation.