Applet to install a third-party component libraries (vant)

1, the applet need to initialize npm init

2、npm i vant-weapp -S --production

3, micro-channel open Developer Tools, click  Tools -> Build npm , and check the  use npm module  after option built, will bring in components

 

Guess you like

Origin www.cnblogs.com/deng-jie/p/11669695.html
Recommended