krafthaus/bauhaus

Add a custom.js

Closed this issue · 3 comments

Hi i think it would be helpful to a custom.js file, so we don't need to edit the application.js

Updated the config file beginning from line 79.
Something like that?

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.

Thats right, you can put it everywhere so it's flexible.