The `vue-cli-plugin-quasar` package facilitates the integration of Quasar Framework v2 with Vue CLI v5 projects. It provides the necessary webpack configurations, build tools, and scaffolding to jumpstart the development of Quasar-powered Vue 3 applications. While this plugin enables developers to utilize Quasar within an existing Vue CLI ecosystem, it's crucial to acknowledge that Vue CLI itself is currently in maintenance mode. For a comprehensive and premium Quasar development experience, which includes robust support for building Mobile and Electron applications, along with seamless upgrades, the Quasar Framework team strongly recommends using the dedicated Quasar CLI. The current stable version of this plugin is 5.1.2. Its primary role is to configure a Vue CLI project to correctly bundle and optimize Quasar components, rather than acting as a runtime library itself.
npm install vue-cli-plugin-quasarVerified import paths — ran on the pinned version, not inferred.
This quickstart guides you through setting up a new Vue CLI v5 project and integrating the Quasar Framework using this plugin, demonstrating the initial project creation, plugin installation, invocation, and how to start the development server.
Verify your Vue CLI version with `vue --version`. If it's not `5.x.x`, upgrade Vue CLI globally: `npm install -g @vue/cli` or `yarn global add @vue/cli`.
Manually ensure your `package.json` dependencies match these specific versions (if applicable) and run `npm install` or `yarn install` when migrating from Vue CLI v4.
If you use RTL support, run `npm uninstall postcss-rtl` (or `yarn remove postcss-rtl`) and then `npm install postcss-rtlcss` (or `yarn add postcss-rtlcss`).
Update your `quasar` package to `^2.16.0` or higher in your `package.json` and reinstall project dependencies.
For new projects or those requiring advanced Quasar features, consider initiating your project with the official Quasar CLI (e.g., `npm init quasar`) rather than Vue CLI with this plugin.
Upgrade `vue-cli-plugin-quasar` to version 5.0.2 or higher, which includes a fix for this Yarn 2 PNP compatibility issue by adding `loader-utils` as a dependency.
Upgrade `vue-cli-plugin-quasar` to version 4.0.3 or higher to resolve issues related to incorrectly transformed imports that could cause syntax errors.
Upgrade `vue-cli-plugin-quasar` to version 4.0.2 or higher, which includes a fix addressing Webpack 5 loader options deprecations, resolving these warning messages.