Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #48 from Dino-Kupinic/25-nuxt-add-typescript-and-p…
Browse files Browse the repository at this point in the history
…roper-tsconfig

feat: add typescript
  • Loading branch information
Dino-Kupinic authored Mar 21, 2024
2 parents 6f4630c + 8e5d0b1 commit bc7e88f
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 52 deletions.
4 changes: 4 additions & 0 deletions frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export default defineNuxtConfig({
preference: "system",
fallback: "light",
},
typescript: {
typeCheck: true,
strict: true,
},
modules: [
"@pinia/nuxt",
"@nuxtjs/i18n",
Expand Down
4 changes: 3 additions & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "7.6.7",
"vitest": "^1.3.1"
"typescript": "^5.4.3",
"vitest": "^1.3.1",
"vue-tsc": "1.8.22"
}
}
Loading

0 comments on commit bc7e88f

Please sign in to comment.