chore: configure vite, react, and stimulus bootstrap
This commit is contained in:
6
assets/bootstrap.js
vendored
Normal file
6
assets/bootstrap.js
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import { startStimulusApp } from '@symfony/stimulus-bundle';
|
||||
import { registerReactControllerComponents } from '@symfony/ux-react';
|
||||
|
||||
const app = startStimulusApp();
|
||||
|
||||
registerReactControllerComponents(require.context('./react/controllers', true, /\.(j|t)sx?$/));
|
||||
Reference in New Issue
Block a user