No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Boot file: how to 'wait' for $axios and cordova plugin to be available?

    Help
    axios boot cordova plugins
    3
    3
    272
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      realtebo last edited by

      I a new boot file I’ve the need to use both a cordova plugin and axios.

      Is there a way to be sure that axios and cordova plugins are really available before trying to use them?

      metalsadman 1 Reply Last reply Reply Quote 0
      • R
        rabix last edited by rabix

        import axios from ‘axios’

        if (axios) {

        }

        1 Reply Last reply Reply Quote 0
        • metalsadman
          metalsadman @realtebo last edited by

          @realtebo they are available when your app is created.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post