title: How to access $toast in pinia Store?
body: <p>I am using <strong>Vue 3</strong> option API , <strong>Pinia</strong> and <strong>@meforma/vue-toaster</strong> .</p>
  <p>i have imported toaster in main.js as document said and it works perfectly in components .</p>
  <p>now i need to use it in Pinia Store like this</p>
  <p><strong>store.js</strong></p>
  <pre><code>actions: {
      async login(data) {
        try {
          const res = await authService.login(data);
        
          if (res.data.msg == &quot;success&quot;) {
          this.$toast.success(&quot;loged in successfully&quot;, {
                position: &quot;bottom-right&quot;,
                duration: 3000,
                type: 'success',
              });
        }
          
        } catch (error) {
                    
          this.$toast.error(error.res.data.error, {
          position: &quot;bottom-right&quot;,
           duration: 5000,
           type: 'error',
           });
           }
        }
      },
    }
  </code></pre>
  <p>But it doesn't work !</p>
  <pre><code>Can not read properties of undefined (reading 'success') 
  </code></pre>
  <p>what's the problem ?</p>