nascent-africa / jetstrap

A Laravel 8 package to easily switch TailwindCSS resources generated by Laravel Jetstream and Breeze to Bootstrap 4.
https://github.com/nascent-africa/jetstrap
MIT License
709 stars 119 forks source link

API Token -> "Permissions"-Link does not open modal (ReferenceError: $ is not defined) #81

Open AGuyCoding opened 2 years ago

AGuyCoding commented 2 years ago

ReferenceError: $ is not defined When Features::api() is enabled, and you create a Token in that view, it should open a modal, but it won't, it throws that error:

app.js:N Uncaught ReferenceError: $ is not defined at Proxy.manageApiTokenPermissions (app.js:N) at onClick (app.js:N) at callWithErrorHandling (app.js:N) at callWithAsyncErrorHandling (app.js:N) at HTMLButtonElement.invoker (app.js:N)

To Reproduce

  1. Steps to reproduce the behavior:
  2. uncomment Features::api() in jetstream.php
  3. open ApiTokens Page and create an API token, you then should be able to see the error in the dev-tools (js)