Commit 4dd749ce authored by Step_by_step's avatar Step_by_step

text:格式调整

parent 555b4ba9
......@@ -64,11 +64,14 @@ npm run preview 本地预览打包完的文件
### 打包流程
1. 到 package.json 执行相应模块的打包命令, 打包模块在 dist
2. 由于 vite 使用 ESM,故作一下修改
2. 由于 vite 使用 ESM,故作以下修改
- 去除带有 type="module" 的行 (3行)
- 去除关键字 nomodule 、crossorigin
-`<script nomodule crossorigin id="vite-legacy-entry" data-src="./assets/index-legacy.147c7483.js">System.import(document.getElementById('vite-legacy-entry').getAttribute('data-src'))</script>` 改为 `<script id="vite-legacy-entry" src="./assets/index-legacy.147c7483.js"></script>` (去除关键字,data-src 改为 src,script内容去除)
3. 模块包打包成 zip
4. [海马汇地址](http://handapptest.komatsu-fl.com.cn/submenu/banner) admin/Admin@123!
- 这上方网址下搜索功能 "子应用管理",找到对应的模块,新建版本,提交 zip包 ,点击确认退出
......
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