79760761

Date: 2025-09-10 10:54:42
Score: 0.5
Natty:
Report link

The issue was that I was importing toaster in View from this way:

import { toast } from 'vue-sonner'

But actually, if I installed Sonner as a component (in /ui), I need to import it in that way:

import {
  toast
} from '@ist/ui';

and I also must insert that:

import { toast } from 'vue-sonner'

into ui/index.ts

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Giacomo Brunetta