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
[Bug Report] Remind me 'element-ui/lib/descripitions in ./src/element-ui/index.js' and 'element-ui/lib/descripitions-item in ./src/element-ui/index.js' were not found
#21262
Closed
NicholasNap opened this issue
Aug 24, 2021
· 4 comments
· Fixed by #21265
use 'Descripitions' and 'DescripitionsItem'
then, you can see the message below :
These dependencies were not found:
element-ui/lib/descripitions in ./src/element-ui/index.js
element-ui/lib/descripitions-item in ./src/element-ui/index.js
To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item
What is Expected?
use Descripitions And DescripitionsItem component formally
and my solution is alter the file in that path -- 'node_modules/element-ui/types/element-ui.d.ts'
named Descripitions to Descriptions
named DescriptionsItem to DescriptionsItem
What is actually happening?
These dependencies were not found:
* element-ui/lib/descripitions in ./src/element-ui/index.js
* element-ui/lib/descripitions-item in ./src/element-ui/index.js
To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item
The text was updated successfully, but these errors were encountered:
Element UI version
2.15.5
OS/Browsers version
Windows 10 / Chrome 92.0.4515.159
Vue version
2.5.17
Reproduction Link
https://codesandbox.io/s/exciting-shannon-n1tps?file=/src/components/HelloWorld.vue
Steps to reproduce
npm install --save element-ui@^2.5.17
use 'Descripitions' and 'DescripitionsItem'
then, you can see the message below :
These dependencies were not found:
To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item
What is Expected?
use Descripitions And DescripitionsItem component formally
and my solution is alter the file in that path -- 'node_modules/element-ui/types/element-ui.d.ts'
named Descripitions to Descriptions
named DescriptionsItem to DescriptionsItem
What is actually happening?
These dependencies were not found:
* element-ui/lib/descripitions in ./src/element-ui/index.js
* element-ui/lib/descripitions-item in ./src/element-ui/index.js
To install them, you can run: npm install --save element-ui/lib/descripitions element-ui/lib/descripitions-item
The text was updated successfully, but these errors were encountered: