Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 1 KB

en.md

File metadata and controls

33 lines (28 loc) · 1 KB

generator-daddy

npm

中文版

Introduction

generator-daddy is a library for npm that works with Yeoman to quickly build scaffolding for Web projects. It was developed to allow us to focus on the development of the project rather than spending time doing repetitive work.

Installation

npm i generator-daddy

How to use

# Yeoman must be installed before generator-daddy can be used
npm install -g yo
# Install generator-daddy generator
npm install -g generator-daddy
# Use generator-daddy to generate the project (Default Express project)
yo daddy
# Generate the front-end Vue project
yo daddy:vue

Notice

# If you're using an unofficial npm source, you might run into npm packages not found. Try the following command
npm config set registry https://registry.npmjs.org/
  • Add the front-end project generation template