1

I practice yarn-berry with @emotion, vite, react.

But auto importing doesn't work with @emotion/styled.

error image (doesn't auto-importing @emotion/styled)

@emotion/react works well like this.

success image (@emotion/react)

I did re-install after uninstall. but It doesn't solution.

what is the problem?

this is my dependencies in package.json

  "dependencies": {
    "@emotion/react": "^11.10.6",
    "@emotion/styled": "^11.10.6",
    "react": "^18.2.0",
    "react-dom": "^18.2.0"
  },
최성민
  • 11
  • 2

0 Answers0