简体   繁体   中英

How can I use npm in wix website editor?

I need to install twilio at Wix website editor but I can't find any console or npm there. Does anybody know how can I install it ?

You can use the fetch API to send a request to any REST API they expose. It is not possible to use npm install inside Wix Code.

Another option is to set up your own server and make the request to it.

There seems to have been a change in recent years, and Wix now supports using npm packages as part of their Corvid Dev Mode.

It is possible to use the functionality in the backend web module and then include it from you page: you can find more information in their documentation

在 Wix 项目中安装 NPM 包

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM