Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

组件跨栈使用 #52

Open
wangdp96 opened this issue Oct 8, 2023 · 1 comment
Open

组件跨栈使用 #52

wangdp96 opened this issue Oct 8, 2023 · 1 comment

Comments

@wangdp96
Copy link

wangdp96 commented Oct 8, 2023


在自定义跨栈组件中使用的时候如何兼容vue和react的组件引入
一个是import "quarkd/lib/button";
一个是import { Button } from "@quarkd/quark-react";

@sanqi-med
Copy link

可以只使用import "quarkd/lib/button";这一种方式。
import { Button } from "@quarkd/quark-react", 这个是为了符合开发者习惯,在quarkd上层将组件react 化了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants