I have published very simple toast component package in npm , here with vite , vue 3 and typescript .
you can see Repo here .
there are two problems .
first problem is that when you install this package , styles doesn't apply
I can see style.css file in node-modules/my-package/dist/style.css But it can't be imported .
How can I fix this ?
Another problem is that when I try to import installed package component like this
import { ToastNot } from 'vue3-toast-notification';
I get Typescript error .
How can I fix this to?