violet_rails
violet_rails copied to clipboard
Decouple application.js & cms.js and use only one pack file at a time
Describe the bug For the dashboard controller, we are including the cms.js as well as application.js file in here. Due to this, multiple dependencies like jquery, trix, turbo, rails-ujs, etc are being imported multiple times.
We need to decouple these cms.js and application.js file and use only one file at a time.
To Reproduce Steps to reproduce the behavior:
- Go to '/v2/dashboard'
- Open the developer tools' console
- See error
Expected behavior Such error should not occur
Screenshots
cc @Pralish