Quasar installation

Before installing and using quasar, make sure that node is installed on your computer, preferably version 14+

node -v, check node version

 Install the package management tool yarn, and use the npm command directly on the premise of installing node

#install yarn

npm install -g yarn

#check yarn version

yarn -v

 The result shows that 1.xx means the installation is successful

A friend commented that the installation failed. If the installation fails, try the following two methods

Try this command: npm install --global yarn,

Or download the installer directly: https://classic.yarnpkg.com/latest.msi 

You can also set up the Taobao mirror library to increase the download speed

yarn config set npmRegistryServer https://registry.npm.taobao.org

 After that, you can install quasar. Use yarn instead of npm because the official website recommends yarn, but you can also use npm

#Install quasar-cli

yarn global add @quasar/cli 

 Under the folder where the project is to be created, press cmd and press Enter to create the quasar project

Guess you like

Origin blog.csdn.net/weixin_46764819/article/details/128231179