Vue.js Components in Rails Views Discussion
Could you post how to migrate for Rails 7 + Esbuild? I tried but I got Failed to mount app: mount target selector "app" returned null.
leoplct repliedCould you post how to migrate for Rails 7 + Esbuild? I tried but I got Failed to mount app: mount target selector "app" returned null.
leoplct repliedI solved this by adding a `yarn install` to the deploy script on hatchbox: ``` -----> Precompiling assets...' # Force webpack output so we can debug errors if [ -w config/webpacker.yml ...
Matthias Orgler repliedHi! I use pagination Pagy gem, and button "More..." (more pages Ajax) not work index.js.erb ``` var colum = document.querySelector("#categories_index"); var pagin = document.querySelector("#ca...
Nikola Okonesh postedAll the navigation is in `app/views/shared/navbar.html.erb` 👍
Chris Oliver replied • SolvedI have created src folder inside app/javascript folder and pasted all .js files into it. application.js also done by require('src/file_name'), and then I changed webpacker.yml resolved_paths to res...
Safwan SM replied • SolvedDoes anybody knows how to fix this error in Rails 6.0.3 and TailwindCSS 2.0? ` ERROR in ./app/javascript/stylesheets/application.scss (./node_modules/css-loader/dist/cjs.js??ref--7-1!./node_modules...
Alex Ventura repliedIs there anyway to reverse the index and position order? For example: ``` First div <%# index: 3, position: 3 %> Second div <%# index: 2, position: 2 %> Third div <%# index: 1, posi...
Reece Jones repliedI'm looking to track downloads of mp3 files that are stored using ActiveStorage with Ahoy and data visualized with Blazer. Anyone got any resources for how to do this tracking of ActiveStorage wit...
CF Pro Tools repliedThank you Drew for your response. I did update webpacker, but the error persists.
Rajiv repliedWebpacker successfully installed!! I don't know what happened but I uninstalled rbenv in brew and reinstalled in, reran the doctor and it seemed to work: This page was immensely helpful - https:/...
sam repliedhttps://stackoverflow.com/questions/66615478/turbo-rails-with-devise-does-not-redirect-consistently-rails-6-1-3-devise-4-7-3 found the fix at that stackoverflow. appears to be some issue with devi...
Dylan replied • SolvedAlso going to add that I had issues with the tooltips triggering after I left the page and came back so to help with any conflicts with Turbolinks I changed addEventLstener to: document.addEventL...
bradley repliedWell, I updated all my Homebrew Packages and Jumpstart still stops in the same place. Luckily I have several existing Jumpstart apps I can add on any new tutorials too. Will also try your suggestio...
Tim repliedYou should create two layouts : One 'main.html.erb' et one 'dashboard.html.erb' And then specify on your controllers which layout they should use. main_controller.rb should have layout 'main' da...
Thomas Blumenfeld repliedhello, i am really new to Rails. I wanted to make ajax call to a function in controller. I have following in my view: ``` function fetchMessages() { // Get user input from text field let inpu...
anujmohatkar postedHi, I'm getting following error when i open http://localhost:3000/about AboutController#index is missing a template for request formats: text/html Please let me know how to resolve this issue.
Vishva repliedI'm new to Ruby on Rails and am having trouble getting my first project up and running. I used Rosetta to open my terminal and installed homebrew, ruby, rails, postresql, mysql, and sqlite3, as we...
Humusk1 posted