Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jk-layout-libs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任济华
jk-layout-libs
Commits
5a029116
Commit
5a029116
authored
Jan 23, 2024
by
renjihua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
README.md
parent
07be8f87
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
README.md
+16
-0
No files found.
README.md
0 → 100644
View file @
5a029116
晶科-抽离库-加密组件
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment