Startup
This commit is contained in:
11
assets/game1.js
Normal file
11
assets/game1.js
Normal file
@@ -0,0 +1,11 @@
|
||||
/* Game1 entry point built with Webpack Encore */
|
||||
import './styles/game1.css';
|
||||
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
// Simple boot log so you can verify it in the browser console
|
||||
// and confirm this specific bundle is loaded on the Game Hub page.
|
||||
console.log('Game1 bundle loaded');
|
||||
|
||||
// Example: add a CSS class to <body> so page-specific styles can apply
|
||||
document.body.classList.add('game1-page');
|
||||
});
|
||||
Reference in New Issue
Block a user