generated from boboko/starter
21 lines
999 B
JavaScript
21 lines
999 B
JavaScript
// Register all Stimulus controllers here.
|
|||
|
|
// Example:
|
||
|
|
// import HelloController from './controllers/hello_controller';
|
||
|
|
// application.register('hello', HelloController);
|
||
|
|
|
||
|
|
import BackToTopController from './back-to-top-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('back-to-top', BackToTopController)
|
||
|
|
application.register('product-form', ProductFormController)
|
||
|
|
application.register('product-gallery', ProductGalleryController)
|
||
|
|
application.register('quantity', QuantityController)
|
||
|
|
application.register('star-rating', StarRatingController)
|
||
|
|
application.register('tabs', TabsController)
|
||
|
|
}
|