You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
410 B
11 lines
410 B
import { startStimulusApp } from '@symfony/stimulus-bundle'; |
|
import ArticleCommentsController from './controllers/article_comments_controller.js'; |
|
|
|
const app = startStimulusApp(); |
|
|
|
// Ensure lazy comment loader is registered (Asset Mapper discovery can miss new files until rebuild). |
|
try { |
|
app.register('article-comments', ArticleCommentsController); |
|
} catch { |
|
/* already registered by the bundle */ |
|
}
|
|
|