jd-opensource / jd-opensource/taro-ui

微信小程序dev运行方式生效,build运行不生效

Open
#1,391 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

**问题描述**
pages引入页面,使用atInput组件,使用dev方式运行组件出现,并且生效。使用build方式运行组件不出现,也无css样式

**复现步骤**

环境:
- node (v14.17.5)
- Taro (v2.2.17)

```js
// 这里可以贴代码
```
import { AtInput, AtSwitch } from "taro-ui";

**期望行为**

AtInput组件出现
**报错信息**

无报错
**系统信息**

**补充信息**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.