run a vue project code example Example 1: serve a vue project cd my-app npm run serve Example 2: How to create a vue cli app Use npx @vue/cli create myapp