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

25 lines
1.2 KiB
JavaScript

// Register all Stimulus controllers here.
// Example:
// import HelloController from './controllers/hello_controller';
// application.register('hello', HelloController);
import AppearController from './appear-controller'
import BackToTopController from './back-to-top-controller'
import CarouselController from './carousel-controller'
import ProductFormController from './product-form-controller'
import ProductGalleryController from './product-gallery-controller'
import QuantityController from './quantity-controller'
import StarRatingController from './star-rating-controller'
import TabsController from './tabs-controller'
export function registerControllers(application) {
application.register('appear', AppearController)
application.register('back-to-top', BackToTopController)
application.register('carousel', CarouselController)
application.register('product-form', ProductFormController)
application.register('product-gallery', ProductGalleryController)
application.register('quantity', QuantityController)
application.register('star-rating', StarRatingController)
application.register('tabs', TabsController)
}