feat(editor): Add support for unplugin-icons and auto-importing components (no-changelog) (#10055)

This commit is contained in:
Alex Grozav
2024-07-23 13:30:29 +03:00
committed by GitHub
parent 0fd2c5e106
commit f2ad1222b1
20 changed files with 257 additions and 83 deletions

View File

@@ -18,7 +18,7 @@ type Props = {
};
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const NodeCreator = defineAsyncComponent(
const LazyNodeCreator = defineAsyncComponent(
async () => await import('@/components/Node/NodeCreator/NodeCreator.vue'),
);
@@ -135,7 +135,7 @@ function nodeTypeSelected(nodeTypes: string[]) {
</div>
</div>
<Suspense>
<NodeCreator
<LazyNodeCreator
:active="createNodeActive"
@node-type-selected="nodeTypeSelected"
@close-node-creator="closeNodeCreator"