question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vite 3/4 support for Quasar CLI with Vite

See original GitHub issue

We already support Vite 3 for @quasar/vite-plugin starting from v3.1.0. We should support it in @quasar/app-vite too, preferably without user-facing breaking changes, just like we did in the Vite plugin.

https://vitejs.dev/guide/migration.html

We already weren’t supporting Node 12, so that isn’t a breaking change for us. I am not sure about the effect of the other changes, ATM.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:27
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

10reactions
rstoenescucommented, Dec 15, 2022

There is a temporary workaround (until the Quasar CLI gets released with Vite 4): Add the following to your /package.json (and use Yarn v1):

"resolutions": {
    "vite": "^4.0.0",
    "@vitejs/plugin-vue": "^4.0.0"
  }

Trying to release the new q/app CLI with Vite 4 in January/February – upgrading Vite is easy, but I also want to add a big new feature which will require a lot of dev time. And also, I want to reduce the number of major versions for the CLI to be released because backporting fixes is a potential huge pain. So grouping multiple new stuff in a single batch. Should the other feature take too long to implement, expect q/app with Vite 4 in January.

8reactions
domviecommented, Nov 23, 2022

Is there any news on this or perhaps an ETA on when we can expect vite 3 support for @quasar/app-vite?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Convert project to Quasar CLI with Vite
This page will guide you on how to convert a Quasar CLI with Webpack ( @quasar/app-webpack - formerly known as @quasar/app ) project...
Read more >
Quasar Live Coding Sesh - Getting Started With Quasar Vite CLI
We need a new resource for getting started with Quasar and Vite !I'm a little short on time these days as I'm working...
Read more >
Why we switched from Webpack to Vite - Hacker News
(context: I'm also the author of Vue.js and vue-cli is downloaded more than 3 million times per month on npm). Vite is optimized...
Read more >
yarn create vite error | The AI Search Engine You Control
The error is not with vite but with expo-cli as it says right at the start of your error message: error ... Help...
Read more >
Vite vs Webpack - Vue Mastery
Explore Vite vs Vue CLI under the hood so you can make the best choice for ... 16 modules transformed. dist/assets/vue.5532db34.svg 0.48 KiB ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found