Commit 5a029116 by renjihua

README.md

parent 07be8f87
晶科-抽离库-加密组件
1.使用命令切换无提交记录的分支, 分支名uat
git checkout --orphan uat
2.新建项目, 项目名jk-layout-lib
复制3个文件:
 index.html
 vite.config.js
 package.json
3.根据vite官网配置, 修改vite.config.js
https://v2.vitejs.dev/guide/build.html#library-mode
4.抽离如下模块
src/components
5.打包生成库js
npm run build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment