Development Environment Setup
We need to create a new test project and import the
mxcad
package using thenpm package manager
, so we need to first installNode.js
, which comes with thenpm package manager
and thenpx tool
included in thenpm package manager
. You can downloadNode.js
from the following link:https://nodejs.org/zh-cnInstalling Node.js
Download the installation package for
Node.js
from the official websiteDouble-click on the downloaded installation package to begin the installation process
In the first step, click on
Next
In the second step, check the agreement box, then click
Next
againIn the third step, choose the installation location (usually the default), then click
Next
Click on
Next
in the fourth stepIn the fifth step, do not check the checkbox (it is usually not checked by default), and directly click on
Next
Click on
Install
in the sixth step to start the installation processAfter the installation is complete, open a command prompt window, then type
node -v
to get the version information ofNode.js
,npm -v
to get the version information ofnpm
, andnpx -v
to get the version information ofnpx
. If version information appears, it indicates a successful installation
Install
VS Code
.VS Code
is a handy integrated development tool. You can download it from the following link:https://code.visualstudio.com/DownloadInstalling VS Code
Download the
VS Code
installation package from the official websiteDouble-click to launch the
VS Code
installation programIn the first step, select Agree, then click Next
In the second step, check all options, then click Next
Click on Install in the third step
Wait for the installation to complete in the fourth step
Check the box to launch
VS Code
, then click Finish in the fifth stepFinally, after
VS Code
starts, it should look like the image below