How to install npm on playcanvas?

How to install npm on playcanvas and install the package on the project?

@Mark_Lundin

Unfortunately this isn’t currently supported directly, but you can load external scripts in the settings Settings | Learn PlayCanvas. We are however actively working on an engine update that natively supports ES Modules, this should allow you to import code from public CDN’s like esm.sh. We may eventually add an in-editor tool that allows you to load these directly too.

1 Like