- Deleted the `add_jquery.js` file as jQuery is no longer needed. - Removed references to Bootstrap from the Gemfile and package.json. - Updated the application layout to reflect the removal of Bootstrap styles. - Adjusted the paginator HTML to use a class that aligns with the new styling. These changes streamline the asset pipeline by eliminating unused libraries, which can improve load times and reduce potential security vulnerabilities. The application now relies on alternative styling and JavaScript solutions.
12 lines
645 B
Ruby
12 lines
645 B
Ruby
# Be sure to restart your server when you modify this file.
|
|
|
|
# Version of your assets, change this if you want to expire all your assets.
|
|
Rails.application.config.assets.version = "1.0"
|
|
|
|
# Add additional assets to the asset load path.
|
|
# Rails.application.config.assets.paths << Emoji.images_path
|
|
# Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap/dist/js")
|
|
# Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap-icons/font")
|
|
# Rails.application.config.assets.paths << Rails.root.join("node_modules/bootstrap/dist/js")
|
|
# Rails.application.config.assets.precompile << "bootstrap.min.js"
|