Skip to content

Commit

Permalink
docs(app-vite): mention Capacitor TS changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yusufkandemir committed Nov 12, 2024
1 parent d958f90 commit 298f240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/pages/quasar-cli-vite/upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ Preparations:
$ quasar build # or dev
```

Thanks to this change, Capacitor dependencies are now properly linked to the project's TypeScript configuration. That means you won't have to install dependencies twice, once in `/src-capacitor` and once in the root folder. So, you can remove the Capacitor dependencies from the root `package.json` file. From now on, installing Capacitor dependencies only in the `/src-capacitor` folder will be enough.

Properly running typechecking and linting requires the `.quasar/tsconfig.json` to be present. The file will be auto-generated when running `quasar dev` or `quasar build` commands. But, as a lightweight alternative, there is a new CLI command `quasar prepare` that will generate the `.quasar/tsconfig.json` file and some types files. It is especially useful for CI/CD pipelines.

```bash
Expand Down

0 comments on commit 298f240

Please sign in to comment.