[Vue] Use Vue CLI scaffolding to create a Vue project (created using GUI)

Preface

Before we start developing with Vue, we need to create a Vue project. Vue CLI (Command Line Interface) is an officially provided scaffolding tool that can help us quickly create Vue projects. Vue CLI also provides a visual GUI interface to create and manage Vue projects.


step

  1. Open a terminal or command line interface and run the following command to start the Vue project management interface:

    vue ui
    

    This will open the Vue project management GUI interface in the browser.

    Vue project management interface

  2. In the interface, you can click the "Create Project" button.

    Create project button

  3. Follow the prompts to fill in the project name, path and other information.

    Fill in project information

  4. Next, you can choose a preset configuration or manually configure project properties and click the Create button.

    Select configuration

  5. Vue CLI will automatically download and install the required dependencies and generate a basic Vue project structure.

    Project creation completed

  6. Creation completed


Summarize

At this point, you have successfully created a Vue project and can start development. During the development process, you can use other commands provided by Vue CLI to help you with project building, packaging, etc. For specific commands and usage, please refer to the official documentation of Vue CLI.

Guess you like

Origin blog.csdn.net/qq_34988204/article/details/134770972