How to use npm module in WeChat developer tool code - using npm module method

Time: 2022-06-22Source: Huajun Software TutorialAuthor: Huluwa

Maybe some friends still don’t know how to use the npm module in the WeChat developer tool code? Then the editor will bring you the method of using the npm module in the WeChat developer tool code. Friends in need should come and take a look.

​ ​ First, open the WeChat Developer Tools, enter the homepage, and click "Settings", as shown in the figure below.


                            Then, after entering the settings, click "Project Configuration", as shown in the figure below.


Then, after entering the project configuration, click "Local Settings", as shown in the figure below.


Finally, after entering the local settings, click to turn on "Use npm module", as shown in the figure below.


The above is the WeChat developer tool code using the npm module method brought by the editor. I hope it can help friends in need.

Related articles更多>>

Popular recommendations