Cannot find module '@@/plugin-dva/exports' or its corresponding type declarations.ts(2307) #11900
Khadhiri786
started this conversation in
General
Replies: 1 comment 3 replies
-
In umi 4 , you can import all dva methods from import { connect, useDispatch, useStore, useSelector, getDvaApp } from 'umi' // or '@@/plugin-dva'
// See `./src/.umi/plugin-dva` |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
import { useSelector } from '@@/plugin-dva/exports';
I'm getting error while upgrading umijs v3 to umijs v4 .how to fix this
The plugin "esbuildAliasPlugin" was triggered by this import
Beta Was this translation helpful? Give feedback.
All reactions