- Add ticket selection functionality to event show page using Stimulus - Create ticket_selection_controller.js for handling ticket quantity changes - Update ticket card component and event show view to work with Stimulus - Add comprehensive comments to all JavaScript files for better maintainability - Remove dependent: :destroy from event ticket_types association
9 lines
279 B
JavaScript
Executable File
9 lines
279 B
JavaScript
Executable File
// Entry point for the build script in your package.json
|
|
// This file initializes the Rails application with Turbo and Stimulus controllers
|
|
|
|
// Import Turbo Rails for SPA-like navigation
|
|
import "@hotwired/turbo-rails";
|
|
|
|
// Import all Stimulus controllers
|
|
import "./controllers";
|