@weitutech/by-components 1.1.18 → 1.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -52,6 +52,20 @@ npm publish --access public
52
52
  项目中运行 npm link @weitutech/by-components
53
53
  ```
54
54
 
55
+ > **💡 提示**
56
+ > 本地link调试时,需要把组件库的package.json中的main字段改为src/index.js("main": "src/index.js")
57
+ > 调试完成后,切记改回 "main": "lib/by-components.umd.js",
58
+
59
+ ### 组件文档构建
60
+
61
+ ```
62
+ npm run docs:dev
63
+ npm run docs:build
64
+ 文档部署到Github Pages: npm run docs:deploy
65
+ ```
66
+
67
+ [组件文档·Github Pages](https://weitutech.github.io/by-frontend-components-docs/)
68
+
55
69
  ### 关于新组件开发
56
70
 
57
71
  1. 采用 by 为前缀命名方式