# 1.
pnpm install
# I set tsconfig.json (moduleResolution to nodenext)
# open index.ts we can see:
# Module '"element-plus"' has no exported member 'ElMessage'. Did you mean to use 'import ElMessage from "element-plus"' instead?ts
# 2. replace by new exports content
pnpm replace
# the error will remove
# 3.
pnpm restore
# the error will show again
-
Notifications
You must be signed in to change notification settings - Fork 0
Mini rep of element-plus type bug
wangxdmm/el-exports-mini-rep
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Mini rep of element-plus type bug
Resources
Stars
Watchers
Forks
Releases
No releases published