baidu / baidu/amis

react项目中引用在线编辑器之后webpack打包发布线上报错,TypeError: (0 , o.setSchemaTpl) is not a function 请问怎么解决

Open
#4,433 3 comments 0 reactions 1 assignee Claimed by @wibetter View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

问题链接
https://github.com/aisuda/amis-editor-demo/issues/120

本地能够运行编辑器
但webpack打包后,线上访问就报语法问题

![image](https://user-images.githubusercontent.com/17785263/173805722-de1c27cf-f470-4e45-b573-c113a1f3d549.png)

![image](https://user-images.githubusercontent.com/17785263/173805647-095b6ffc-3f4b-412d-9f70-5397805b92cb.png)

@nwind麻烦大佬看看下

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.