marketingsystem_temp_h5/README.md

33 lines
401 B
Markdown
Raw Normal View History

2024-08-23 17:19:10 +08:00
# 营销系统 模版H5
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
### 默认 npm (pnpm 需要注释 webpack.base.js 配置 resolve-modules)
2024-08-23 16:01:52 +08:00
npm install
2024-09-12 14:40:58 +08:00
```
### 分支介绍
```
main 开发分支
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
### 启动项目
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
npm run start
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
### 测试打包
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
npm run dev
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
### 生产打包(推荐)
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
npm run build
```
### 单独打包 模版 js
2024-08-23 16:01:52 +08:00
```
2024-08-23 17:19:10 +08:00
### webpack.com.js entry 配置需要打包的模版入口
2024-08-23 16:01:52 +08:00
2024-08-23 17:19:10 +08:00
npm run com
```