Skip to content

What's the point of a wrapper? #31

Closed
@EmmanuelBeziat

Description

@EmmanuelBeziat

Hi!

I was just wondering what's the point of using a vue wrapper for axios? What is the gain over a simple

import axios from 'axios'

axios.get()

Does having it set in the Vue component allow me to do something useful (for example, easily set some globals : https://github.com/axios/axios#global-axios-defaults)?

Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions