I just post another topic,but nobody replies to me. Can anyone help me?
Hi, I’m using block sdk to build a custom app. But I meet an error after I install an es6 modules( @antv/x6 )
Bundle Error: 'import' and 'export' may appear only with 'sourceTyp...
Hi, I’m using block sdk to build a custom app. But I meet an error after I install an es6 modules( @antv/x6 )
Bundle Error: 'import' and 'export' may appear only with 'sourceType: module'
I tried to add a .babelrc file to add prset-env but don’t wor...
I can get records sorted by some field like below
const records = useRecords(table, {
sorts: [{ direction: 'desc', field: actionField }],
});
but how can I get records sorted by manual order?
@Billy_Littlefield Is there any update of this problem?
And I have checked the antv/x6 module has a es5 version in the /lib directory. And I try to import this modules use code below
import { Graph } from '@antv/x6/lib';
but failed again
Thanks. It’s a relative solution. But when I use the umd version, I will lose the type defination. It will be panic to use this.
When will the block sdk solve this kind of problem?
It blocks me long time and sucks really.