starting new structure
This commit is contained in:
@@ -58,7 +58,7 @@ bun add @vimazing/vim-sudoku
|
||||
|
||||
```tsx
|
||||
import { useGame } from "@vimazing/vim-sudoku";
|
||||
import "@vimazing/vim-sudoku/sudoku.css";
|
||||
import "@vimazing/vim-sudoku/game.css";
|
||||
|
||||
export function SudokuGame() {
|
||||
const { containerRef, initGame, gameStatus, scoreManager } = useGame();
|
||||
@@ -80,6 +80,8 @@ export function SudokuGame() {
|
||||
}
|
||||
```
|
||||
|
||||
> **Note:** You must manually import the CSS file. The package exports styles but does not auto-import them, giving you control over when and how styles are loaded.
|
||||
|
||||
---
|
||||
|
||||
## VIM Modal Editing
|
||||
|
||||
Reference in New Issue
Block a user