vue-cli command for make new component code example Example: generate component vue cli npm install -g vue-generate-component