Skip to content

Commit

Permalink
chore: update README file
Browse files Browse the repository at this point in the history
  • Loading branch information
kieranwv committed Nov 5, 2024
1 parent 7e6b0e1 commit 8350d98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,16 @@ If you just want to develop locally, you can [create a repo](https://github.com

## Usage

First, install the dependencies.

```bash
npm install
```

Just run and visit http://localhost:1977.

```bash
npn run dev
npm run dev
```

> Node.js version 18 or higher is required for this project.
Expand Down
3 changes: 1 addition & 2 deletions src/components/ThemeToggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ const isDark = useDark()
const toggleDark = useToggle(isDark)
watchEffect(() => {
if (isDark.value) {
if (isDark.value)
setDarkMode(document)
}
})
function setDarkMode(document: Document) {
Expand Down

0 comments on commit 8350d98

Please sign in to comment.