Jaron Long

Results 18 comments of Jaron Long

> > 找到原因了。 > > 通过 render 方法渲染的 vue 组件,可以正常显示,但是通过 template 渲染的 vue 组件,build 之后不会正常显示。 > > 例子: > > ```tsx > > // FlowNode.tsx文件 > > > > import...

> ```js > { > find: '@antv/x6', > replacement: '@antv/x6/dist/x6.js', > }, > ``` 这不是一个好办法。把"@antv/x6"的解析路径改到umd包,摇树就拉了。另外x6的高级功能只能通过“@antv/x6/es/registry/tool/”和“@antv/x6/es/view”引用,改路径导致拼接后解析报错,意味着自定义视图和自定义工具之类的定制修改都用不了。目前还没有找到办法绕过

尝试过vs2017,vs2015,vs2013环境,还是一样的错

> 是否使用 vite,如果是的话有一个相关 issue 以及绕开的办法:[vitejs/vite#3413](https://github.com/vitejs/vite/issues/3413) 需要继承button实现,这个办法会导致`import { Button } from '@antv/x6/es/registry/tool/button';`的写法报错,这个问题还是绕不开的。

对CLI项目没有这块的支持计划吗?

@cuebit Not all APIs provide these extra info. In my case Employee query defined extra pagination info and Employee autocomplete query provide selected status. On the other hand, I dont...

BTY,define discriminator fields in the parent is not tree-shaking friendly if we want to share models.

@petertoth Sorry for the late. I update it with a repo. Currently, I cannot register a STI model in another repo.

@kiaking I use mono repo a lot. Maybe it bring some new issues.

@kiaking Any news about this? If all models are manage in a repo define types in parent seems not to be friendly for Tree-shaking. All sub models are waved. Is...