본문으로 건너뛰기

Start project with Quasar

O-h-y-o1분 미만redbiground

Start project with Quasar

Quasar strongly recommends using yarn as the package manager.

pnpm is not officially supported.

Installing Quasar Globally

$ yarn global add @quasar/cli
# or:
$ npm i -g @quasar/cli
# or:
$ pnpm add -g @quasar/cli # experimental support

Creating a project with Quasar

$ yarn create quasar
# or:
$ npm init quasar
# or:
$ pnpm create quasar # experimental support

Choose according to the guidelines.

Make it vite. You can have a faster developer experience than webpack.

Add the following statement to your package.json file

// package.json
"scripts": {
  "dev": "quasar dev", # Open development server
  "build": "quasar build", # Build
}

Make sure the server is running well

$ yarn quasar dev
$ yarn quasar inspect
$ pnpm run dev
# ..etc