Reference: http://mars3d.cn/doc.html#start/download
Steps
- Create a new folder named
packages. - Copy the package you want to replace (using
mars3das an example here) fromnode_modules/mars3d/to thepackages/mars3d/directory. - Modify the
mars3dpackage configuration inpackage.jsonto:"mars3d": "file:packages/mars3d", - Delete
node_modulesand runnpm installagain to install dependencies.
2023/5/8Less than 1 minute
