why to use vue cli code example
Example 1: npm install cli vue
npm install -g @vue/cli
# OR
yarn global add @vue/cli
Example 2: How to create a vue cli app
Use npx @vue/cli create myapp
npm install -g @vue/cli
# OR
yarn global add @vue/cli
Use npx @vue/cli create myapp