Files
3dealer/resources/js/stimulus/index.js
T

29 lines
1.5 KiB
JavaScript
Raw Normal View History

2026-07-31 17:41:55 +03:00
// Register all Stimulus controllers here.
// Example:
// import HelloController from './controllers/hello_controller';
// application.register('hello', HelloController);
import AppearController from './appear-controller'
2026-07-31 17:41:55 +03:00
import BackToTopController from './back-to-top-controller'
import CarouselController from './carousel-controller'
import DropdownController from './dropdown-controller'
2026-07-31 17:41:55 +03:00
import ProductFormController from './product-form-controller'
import ProductGalleryController from './product-gallery-controller'
import QuantityController from './quantity-controller'
import RangeSliderController from './range-slider-controller'
2026-07-31 17:41:55 +03:00
import StarRatingController from './star-rating-controller'
import TabsController from './tabs-controller'
export function registerControllers(application) {
application.register('appear', AppearController)
2026-07-31 17:41:55 +03:00
application.register('back-to-top', BackToTopController)
application.register('carousel', CarouselController)
application.register('dropdown', DropdownController)
2026-07-31 17:41:55 +03:00
application.register('product-form', ProductFormController)
application.register('product-gallery', ProductGalleryController)
application.register('quantity', QuantityController)
application.register('range-slider', RangeSliderController)
2026-07-31 17:41:55 +03:00
application.register('star-rating', StarRatingController)
application.register('tabs', TabsController)
}