-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
按需引入Form组件提示:Failed to resolve directive: ant-ref #20
Labels
Comments
Form用到了一个全局指令,导致该提示
import ref from 'vue-ref';
Vue.use(ref, { name: 'ant-ref' }); 下个版本0.5.2会添加Form自动注册该指令功能 |
不用jsx语法如果使用form的验证功能,希望能添加一些demo. |
tangjinzhou
added a commit
that referenced
this issue
May 15, 2018
现在有不用jsx语法实现form验证的demo了吗? |
问题已解决,可以更新到最新版 |
tangjinzhou
added a commit
that referenced
this issue
Sep 5, 2018
ref #103 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
import Vue from 'vue';
import { Button,Form } from 'vue-antd-ui';
Vue.component(Button.name, Button);
Vue.component(Form.name, Form);
Vue.component(Form.Item.name, Form.Item);
复制运行了登录的demo。
The text was updated successfully, but these errors were encountered: