mirror of
https://github.com/tiennm99/loto.git
synced 2026-10-14 20:17:28 +00:00
refactor: move shared modules out of app/
`app/` should hold route segments only. Game logic and the player-card component are imported by both routes, so they belong outside: app/loto-game-logic.ts -> lib/game-logic.ts app/loto-player-board.tsx -> components/player-board.tsx Imports use the existing @/* alias. Drops the redundant `loto-` prefix. Also fixes the package name from the scaffold default.
This commit is contained in:
1 parent
dd64aa6ed3
commit
254a6dc39a
8 files changed
+16
-16
No files matched your search
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "nextjs-temp",
|
||||
"name": "loto",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
Reference in new issue
Block a user