Added a small mental arithmatic game
All checks were successful
/ publish (push) Successful in 1m30s
All checks were successful
/ publish (push) Successful in 1m30s
This commit is contained in:
parent
ca67aadac0
commit
70a782d0e4
6 changed files with 268 additions and 0 deletions
8
site/mental-arithmatic/scripts/main.js
Normal file
8
site/mental-arithmatic/scripts/main.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { Application } from "https://unpkg.com/@hotwired/stimulus/dist/stimulus.js";
|
||||
import { WelcomeController } from "./welcome.js"
|
||||
import { GameController } from "./game.js"
|
||||
|
||||
window.Stimulus = Application.start();
|
||||
|
||||
window.Stimulus.register('welcome', WelcomeController);
|
||||
window.Stimulus.register('game', GameController);
|
||||
Loading…
Add table
Add a link
Reference in a new issue