0👍
You have to define which methods can be used by the remote origin with the ‘Access-Control-Allow-Methods’ header, example:
Access-Control-Allow-Methods: OPTIONS, HEAD, GET, POST
- [Vuejs]-Upload same image in different sizes – Dropzonejs
- [Vuejs]-Error: render function or template not defined in component: anonymous
0👍
I think is better if you use the firebase
Lib from npm
. REST API of firebase Database is extrem ineficcent because it downloads many unuseful data and you need to keep in mind that firebase bills the amount of downloaded data. But you don’t specify which module you are using. It would be also great if you post the code.
Source:stackexchange.com