The first step: Open the project home directory with the editor;
The second step: Keyboard ctrl ~, open the terminal;
(Recommended related tutorials: vscode tutorial)
Step 3: Run the command npm run dev
. Note that the directory is the current project’s Home directory;
Step 4: Just open http://127.0.0.1:8080/ in your browser.
For more programming related content, please pay attention to the Programming Introduction column on the php Chinese website!
The above is the detailed content of How vscode runs vue code. For more information, please follow other related articles on the PHP Chinese website!