wire-extender icon indicating copy to clipboard operation
wire-extender copied to clipboard

Error in demo

Open MasterZydra opened this issue 11 months ago • 2 comments

Hi @PhiloNL,

I noticed that the demo in the documentation is not working because of CORS errors.

<html>
<head>
    <script src="https://unpkg.com/@wire-elements/wire-extender" data-uri="https://wire-elements.dev"></script>
    </head>
<body>
    <livewire data-component="counter" data-params='{"count":10}'></livewire>
</body>
</html>

image

MasterZydra avatar Jan 07 '25 13:01 MasterZydra

Hi @MasterZydra you might give v0.0.7 a try (version prior to session support being added). See here : https://github.com/wire-elements/wire-extender/issues/33#issuecomment-2542833819

dircm avatar Jan 08 '25 10:01 dircm

Hi @dircm, this is the demo from the documentation. You should just be able to copy this HTML snippet into a HTML file and open it in the browser. If it is related to the changes in the versions. The demo hosted by Philo must be upgraded.

MasterZydra avatar Jan 08 '25 11:01 MasterZydra