element-plus: [Bug Report] Please provide an ESM (ES Module) that is importable directly from the browser
Element Plus version
1.1.0-beta.8
OS/Browsers version
Mac OS
Vue version
3.2.8
Reproduction Link
https://codepen.io/iamkun/pen/Tusfkr545A
Steps to reproduce
Any code
What is Expected?
Being able to do something like:
import ElementPlus from "https://unpkg.com/element-plus";
What is actually happening?
It is impossible to do
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Reactions: 1
- Comments: 16 (6 by maintainers)
Hi, we already finsh a first prototype version. Please reference: https://play.element-plus.org/
@rotu We just released full esm version.
https://unpkg.com/element-plus@latest/dist/index.full.mjs@rotu Thank you, we will continue to optimize the ESM version, but our current focus may not be on ESM.
About memoize-one, because we have added a new dependency,
memoize-one, which will be updated to the playground later.Did you add import map? For more information, you can see https://github.com/element-plus/element-plus-playground .
@rotu Fixed.
@rotu I will fix it later. There is indeed a problem with versions
v1.1.0-beta.9andv1.1.0-beta.10, so please skip these two versions and use versionv1.1.0-beta.11.