vue cli 4 create vue 2 project code example Example: How to create a vue cli app Use npx @vue/cli create myapp