From cf153e85583280dce9a110b724a31bd838b592ec Mon Sep 17 00:00:00 2001 From: dailer Date: Fri, 14 Jul 2023 11:38:22 +0800 Subject: [PATCH] update readme.md --- README | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/README b/README index e31dbb0f0..b050a1689 100644 --- a/README +++ b/README @@ -13,14 +13,21 @@ http://fanruan.design/doc.html?post=0169cf558d ## 开发 -pnpm run dev +`pnpm run dev` -* demo: [http://localhost:3000/](http://localhost:3000/) +* demo: [http://localhost:3000/](http://localhost:3000/) * fineui: [http://localhost:9001/fineui.js](http://localhost:9001/fineui.js) ## 构建 -pnpm run build +`pnpm run build` + +## 自定义less变量构建 + +``` +cd ./packages/fineui +cross-env LESS_CONFIG_PATH=your_less_config.json LESS_FILE_NAME=your_file_name pnpm --filter @fui/core webpack:css +``` ## 发布 @@ -28,4 +35,4 @@ pnpm run build License ============ -Please refer to [LICENSE](https://code.fanruan.com/fanruan/fineui/src/branch/master/LICENSE) file. \ No newline at end of file +Please refer to [LICENSE](https://code.fanruan.com/fanruan/fineui/src/branch/master/LICENSE) file.