WhyTerremotin!
failed to resolve import
Hey, i'm facing something very strange, i install my pandacss and modify the tsconfig.json to add an "alias" so i can type @panda/css ... and use the functions but i receive the error Failed to resolve import ....Does the file exist?
"paths": {
"~/": ["./src/"],
"@/": ["./drizzle/"],
"@panda/": ["./styled-system/"]
}
this is the tsconfig path i added
import { css } from "@panda/css";
i import this way. inside my component. The cursor ide don't complain but the HMR don't detect the import.
Some idea about what can be happening?
4 replies