element-plus/DEV_FAQ.md
云游君 4a775cf17d
docs: add link guide (#3698)
* docs: add link guide

* docs: add link guide trap
2021-09-28 11:00:09 +08:00

531 B

DEV FAQ

Here are the problems that are easy to encounter in development.

pnpm i
# get dist
pnpm build
cd dist/element-plus
# set cur element-plus to global `node_modules`
pnpm link --global
# for esm we also need link element-plus for dist
pnpm link --global element-plus

# go to your project, link to `element-plus`
cd your-project
pnpm link --global element-plus

More info see link | pnpm.