Home > Development Tools > sublime > body text

How to run js code in sublime

藏色散人
Release: 2020-12-07 13:59:39
forward
4751 people have browsed it

The tutorial column of sublime below will introduce to you how to run js code in sublime. I hope it will be helpful to friends who need it!

How to run js code in sublime

First of all, you need to install node.js. Search for ndoe.js on Baidu and enter the pipe network to download. After the download is completed, just install it directly

How to run js code in sublime

Install directly after the download is completed. Use CMD to check whether the installation is complete. After directly installing node, you need to install the package management tool npm. After the new version is installed, node can run npm directly without reinstalling npm

How to run js code in sublime

Open we open sublime, execute the configuration of the running environment,

How to run js code in sublime

Find the editor's tools, select the compilation system,

How to run js code in sublime

We need to create a new compilation system, write a fixed code, and then save it

How to run js code in sublime

After saving, restart again Editor, when you check the compilation system, you can see the previously bound node

How to run js code in sublime

After we complete the configuration, we will test it, create a new js file, and run it. , so that we don’t have to go to the browser to execute js code every time, which brings us aspects

How to run js code in sublime

The above is the detailed content of How to run js code in sublime. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:jingyan.baidu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template