Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to create and run a vue project in vscode

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article will explain in detail how to create and run the vue project in vscode. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have some understanding of the relevant knowledge after reading this article.

Here's how to create and run a vue project in vscode!

Configure vue's prototype environment node.js before installation

Download and install it, the default installation is fine, and the environment variables will be configured automatically.

Install vue scaffolding, vue-cli

1. Install Visual Studio Code software.

2. The social language can be Chinese.

3. After the installation, the computer rebuilds a folder to store the vue project.

4. Press and hold ctrl+shift+~ to start the command line tool

5. Enter vue init webpack test on the command line

There may be a problem after entering the command line that the "vue" item cannot be recognized as the name of the cmdlet, function, script, or runnable program

Need to open

Enter the command to view the get-ExecutionPolicy and display the Restricted (indicating that the status is disabled), then execute the command set-ExecutionPolicy RemoteSigned and finally enter the command to view the get-ExecutionPolicy, which indicates that the RemoteSigned is ready for use

Another possibility is that there is a problem with the configuration of environment variables.

6. Restart the software and continue to execute vue init webpack test

Enter all the way to indicate the success of the creation.

7. After a successful creation, cd executes npm install under the project path.

8. Then execute the npm run dev startup project

The project was launched successfully

On how to create and run the vue project in vscode to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report