Add a custom.js
Closed this issue · 3 comments
willmkt commented
Hi i think it would be helpful to a custom.js file, so we don't need to edit the application.js
jspekken commented
Updated the config file beginning from line 79.
Something like that?
willmkt commented
Man that is perfect!
Just on thing, to work wright i added the full path of the file
'javascripts' => [
// Custom javascript file.
asset('packages/krafthaus/bauhaus/javascripts/custom-admin.js')
]
did you leave it so it can be put anywhere on the project?
Thanks.
jspekken commented
Thats right, you can put it everywhere so it's flexible.