ratiw / vue-table

data table simplify! -- vuetable is a Vue.js component that will automatically request (JSON) data from the server and display them nicely in html table with swappable/extensible pagination component.
MIT License
1.83k stars 303 forks source link

Demo does not work in chrome #179

Closed psychonetic closed 6 years ago

psychonetic commented 6 years ago

Hi, the demo does not work in chrome. You should update the api endpoint from http to https, otherwise chrome blocks the request.

Mixed Content: The page at 'https://vuetable.ratiw.net/examples/semantic.html' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://vuetable.ratiw.net/api/users?sort=name%7Casc&page=1&per_page=10'. This request has been blocked; the content must be served over HTTPS.
(anonymous) @ vue-resource.min.js:7
ratiw commented 6 years ago

@psychonetic The API endpoint has already supported "https". The demo hasn't been updated for quite awhile after Vuetable-2 was introduced.

psychonetic commented 6 years ago

@ratiw Okay fine, but does not really solve the "issue". Are there any updates planned for the demo? Or will the demo replaced with vuetable-2?

ratiw commented 6 years ago

All my time has been shifted to Vuetable-2 and now I'm focusing on v2.0.0 of Vuetable-2. Would also recommend you to use Vuetable-2 instead. Vuetable-2 already comes with an example. Just clone the repo and npm install && npm run dev, then you can explore the code. If you get stuck on anything, search the issues both open and closed, If still not clear, open another issue and I will try to answer that as soon as I can.

psychonetic commented 6 years ago

@ratiw That sounds good. If there is an example provided, it's totally okay for me. Thanks for update! I'll close that now.