-
Notifications
You must be signed in to change notification settings - Fork 2.1k
npm package (latest version 4.2.0) factory method mxBasePath param not working #479
Comments
文件路径在public下开始查找的 |
您好 @LittleBoBo-beep,通过 |
看报错信息是build文件,你可以把mxgraph静态文件放置到根目录下的public或者static文件下,之后mxBasePath属性值改为./public或者./static即可 |
@LittleBoBo-beep 您好,我的意思是通过factory方法配置 |
import mx from 'mxgraph' |
您那里 |
生效了,你的不生效主要是mxGraph的静态资源存放位置不对 |
|
你的静态资源放在什么路径下 |
@hungtcs @LittleBoBo-beep could you please provide a summary of your conversion in english for non-chinese speaking people 😸 ? |
Hi @tbouffard! Sorry for the unintelligible discussion, here are no substantive progress in the above discussion. |
the follow code to load mxgraph, but
mxBasePath
not working:if set
window.mxBasePath = 'assets'
is working well.this demo can reappear the issues: https://stackblitz.com/edit/js-yjyqmw
version: 4.2.0
The text was updated successfully, but these errors were encountered: