-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
Support Vue 2 #38
Comments
或许可以考虑一下 vue-demi?:D |
这个有考虑过,我都实现一遍。最后看看采取什么方案比较好 |
Does it support Vue2 now or when will it be released? |
@byoungd |
期待 vue2 的实现 |
你好,尝试了一下vue-demi的方式实现同时支持vue2和3,目前看起来是能用,除了vue2下需要在src目录中加入shims.d.ts来规避defineComponent导致的编译错误 declare module '*.vue' {
import { defineComponent } from '@vue/composition-api';
const component: ReturnType<typeof defineComponent>;
export default component;
} 这是我fork出来的分支地址https://github.com/kylee0325/vue-request/tree/compatible |
感谢,2.0 已经在做了 |
Hello John. Is there a release schedule? |
I hope to have an alpha release by April. |
alpha 版本已发布 |
Feature Description
Use
composition-api
to be compatible with Vue 2The text was updated successfully, but these errors were encountered: