0👍
You can install particular version of openlayers
, by mentioning specific version in package.json
, like following:
"dependencies": {
"openlayers": "3.x.x"
},
After that you remove earlier installed package and do npm install
in the code directory, which will install the correct version you need.
Source:stackexchange.com