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` |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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 importAll reactions