1 Star 0 Fork 395

PandaQ / element-plus

forked from element-plus / element-plus 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
DEV_FAQ.md 767 Bytes
一键复制 编辑 原始数据 按行查看 历史

DEV FAQ

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

If you encounter dependency related issues

pnpm i

Link local dependencies

# 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 pnpm link.

Theme

We should not write Chinese comments in scss files.

It will generate warning @charset "UTF-8"; in the header of css file when built with vite.

More info see #3219.

JavaScript
1
https://gitee.com/panda999/element-plus.git
git@gitee.com:panda999/element-plus.git
panda999
element-plus
element-plus
dev

搜索帮助