-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
about denpendence vue-resource #31
Comments
How are you importing it? |
@websanova now i use 1.1.0-beta
so,how and defind the http variable . |
i read the doc of vue-resource and found the usecase
so i have try this
and it works not report errors; so why use the |
sorry for the question, i know that this's not the same scop. i want to know why not using exist the http to apply a http definded by user. It would be appreciated if you would like to share. |
Not really sure what the issue you're having exactly but glad it's working. Btw, the plugin does not use $http instance, it uses http directly, so not sure about your second question either. |
i found that if i cann't import vue-resource and use vue-resource by Vue.use(VueResource)
i'll get error like this
this.options.http is undefinded
;so i think in the readme or doc ,you shoude add someline about this.
The text was updated successfully, but these errors were encountered: