ffflorian / api-clients

API clients for various services
GNU General Public License v3.0
19 stars 10 forks source link

Package Error #1023

Closed ghodelamg closed 2 years ago

ghodelamg commented 2 years ago

I am getting internal package error. I am using vue3

 const Sp = new Statuspage('1zzpm59l36cj')
    Sp.summary({
      success: function(data) {
        console.log('Data', data)
        // adds the text description to the dropdown
        // $('.color-description').text(data.status.description)
        // appends the status indicator as a class name so we can use the right color for the status light thing
        // $('.color-dot').addClass(data.status.indicator)
      }
    })

image image

ffflorian commented 2 years ago

Hi @ghodelamg, the API clients are not built for the browser yet. I might add that in the future. Thanks!

ghodelamg commented 2 years ago

@ffflorian Any Idea, how to integrated it in vueJS?

ffflorian commented 2 years ago

This was fixed in https://github.com/ffflorian/api-clients/pull/1036 🎉