You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import {SlButton } from '@shoelace-style/shoelace/dist/react';
the docs recommend to include this way:
import SlButton from '@shoelace-style/shoelace/dist/react/button';
the second one does not work for me. my Guess is, that something in my tsconfig.json is not correct for it to work. if it cares, the project is on react with ts initialized trough vite.
https://stackblitz.com/edit/vitejs-vite-qdetjw
i coppied over my configs and it does work there, maybe i forgot something.
My main reason for asking was because i thought that this way i could resolve my problem below there(line 12)
i Cant use SlAlert in useRef, seems like its not typed well
Describe the bug
currently we include this way:
the docs recommend to include this way:
the second one does not work for me. my Guess is, that something in my tsconfig.json is not correct for it to work. if it cares, the project is on react with ts initialized trough vite.
Screenshots
Browser / OS
Additional information
my tsconfig:
The text was updated successfully, but these errors were encountered: