You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that Ziggy is published on npm, it should be possible to use it with something like cdnjs or unkpkg. You'd need to import the generated routes yourself, but as long as you declare those first you should be able to do something like this:
<!-- import/define the Ziggy object up here --><scriptdefersrc="https://unpkg.com/[email protected]/dist/js/route.min.js"></script><scripttype="text/javascript">route('home');// this should work</script>
The text was updated successfully, but these errors were encountered:
Now that Ziggy is published on npm, it should be possible to use it with something like
cdnjs
orunkpkg
. You'd need to import the generated routes yourself, but as long as you declare those first you should be able to do something like this:The text was updated successfully, but these errors were encountered: