yx 营销系统C端 H5
Go to file
huangzhen bf635ed940 update @样式,组合页跳转 2024-09-14 15:17:06 +08:00
build update @样式 2024-09-13 18:47:34 +08:00
public update @字段联调 (剩余 微信小程序链接和支付宝授权链接) 2024-09-09 18:30:40 +08:00
src update @样式,组合页跳转 2024-09-14 15:17:06 +08:00
.browserslistrc update @初始化 2024-08-23 16:01:52 +08:00
.eslintrc.js update @路由跳转 列表详情接口对接 2024-08-29 17:32:27 +08:00
.gitignore update @rem 适配 2024-08-27 15:05:58 +08:00
README.md update @样式 2024-09-13 18:47:34 +08:00
babel.config.js update @初始化 2024-08-23 16:01:52 +08:00
package-lock.json update @字段联调 2024-09-12 11:35:58 +08:00
package.json update @字段联调 2024-09-12 11:35:58 +08:00
postcss.config.js update @rem 适配 2024-08-27 15:05:58 +08:00
tsconfig.json update @路由跳转 列表详情接口对接 2024-08-29 17:32:27 +08:00
vue.config.js update @初始化 2024-08-23 16:01:52 +08:00

README.md

营销系统 模版H5

### 默认 npm (pnpm 需要注释 webpack.base.js 配置 resolve-modules)

npm install

分支介绍

main  开发分支

启动项目

npm run start

测试打包

npm run dev

生产打包(推荐)

npm run build

单独打包 模版 js

### webpack.com.js-entry 配置需要打包的模版入口

模版开发
环境H5正常业务+ PC 引入(配置样式)

规范:
目录 /src/views/templates
命名 cmsXxxx
类组件开发 + 外部文件引入样式 (index.scss)
props.comType 1 H5 2 配置页(PC)
cdn 引入图片

注意事项:
1、开发完成 配置 comType 2 模拟pc引入校验页面正确
2、样式兼容 PC引入不支持 vh、fixed等
3、模版引入暂不支持子组件UI依赖组件、全局/子组件可通过v-if控制或者动态组件引入

npm run com