th2v webFrame work 2024 version
npm install th2vjs
// 编辑开发
th2v release -wL
// 本地编译发布
th2v release prod
// 本地编译发布 (js css img) 采用 oss / cdn 版本
th2v release prodoss
// jenkins 编译发布,需配合 package.json 中的scripts 命令一起使用
// package.json
// "scripts": {
// "test": "echo \"Error: no test specified\" && exit 1",
// "build": "th2v release jkprod"
// }
// ---
// fis-conf.js
// jenkins打包目录 要用相对路径 "./dist" 默认是用这个
// jenkinsPath: "./dist"
th2v release jkprod
``