1

Is there any way to add custom javascript?

I want to add custom javascript to some of the pages but it seems i am not able to.

0

1 Answer 1

4

Each default Backpack operation has its own CSS and JS file, in:

  • public/vendor/backpack/crud/css

  • public/vendor/backpack/crud/js

If you don't find one there, you can create one, and Backpack will pick it up in that operation's view (e.g. create.css or list.js).

Read more: https://backpackforlaravel.com/docs/3.5/crud-how-to#customize-css-and-js-for-default-crud-operations

Sign up to request clarification or add additional context in comments.

1 Comment

In case someone uses v5.x backpackforlaravel.com/docs/5.x/…

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.