Skip to content

TypeScript project generated by quasar dev won't compile (missing @quasar/app-vite/tsconfig-preset) #17856

@evil-shrike

Description

@evil-shrike

What happened?

A newly generated app fails to compile.

$ quasar --version
@quasar/app-vite 1.10.0 (@quasar/cli 2.4.1)

✔ What would you like to build? › App with Quasar CLI, let's go!
✔ Project folder: … test
✔ Pick Quasar version: › Quasar v2 (Vue 3 | latest and greatest)
✔ Pick script type: › Typescript
✔ Pick Quasar App CLI variant: › Quasar App CLI with Vite 5 (BETA | next major version - v2)
✔ Package name: … test
✔ Project product name: (must start with letter if building mobile apps) … Test
✔ Project description: … Test
✔ Author: … ....
✔ Pick a Vue component style: › Composition API with <script setup>
✔ Pick your CSS preprocessor: › Sass with SCSS syntax
✔ Check the features needed for your project: › Linting (vite-plugin-checker + ESLint + vue-tsc), State Management (Pinia), axios
✔ Pick an ESLint preset: › Prettier

The wizard generates tsconfig.json which imports @quasar/app-vite/tsconfig-preset, but the installed version ("@quasar/app-vite": "^2.0.0-beta.12") doesn't have this file anymore.

If I change the import in tsconfig to something like this:

  "extends": "./tsconfig-preset",

it starts compiling (I copied tsconfig-preset.json from app-vite@1.10.0)

What did you expect to happen?

Generated project just works

Reproduction URL

https://github.com/quasarframework/

How to reproduce?

  1. npm init quasar
  2. quasar build

Flavour

Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)

Areas

Quasar CLI Commands/Configuration (@quasar/cli | @quasar/app-webpack | @quasar/app-vite)

Platforms/Browsers

No response

Quasar info output

Relevant log output

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions