Getting Started With Vue CLI 3
To get started with Vue CLI 3, you should have NPM installed. If you do not have NPM installed, you should go ahead and download it as it’s needed for the CLI to run; it’s crucial for modern front-end web development these days. Once installed, run the following commands.
Note: You have the choice of using either NPM or Yarn. Yarn is like NPM but faster, more secure, and has offline compatibility; it’s created by Facebook and is compatible with NPM.
$
npm install -g @vue/cli# or
$
yarn global add @vue/cli$
vue create project-name
From here, you can select the default configuration, which contains a simple Webpack boilerplate with Babel and ESLint. It should ask you if you want to install all of the packages with either NPM or Yarn.
Note: Whichever you decide to use, stick with it!
If you scaffold your project with the custom option, you should see an array of options to choose from.
To navigate up and down, use the arrow keys,...