Topic: Use an explicit MDB-Version with GIT
We've been using MDB for about 6 months now. First we started using it on our existing AngularJS-App (the RAW-Version). Two months ago we switched to Angular 7 and started using the Angular version of MDB.
Now recently our Buildserver stopped working. We then found out, that it started using the Android 8 version of MDB. As the Buildserver cleans its workpath and runs an npm install we automatically got the Angular 8 version of MDB. We now upgraded our App to Angular 8 and it works again.
Question for the future is, how can we explicitly use a version (for example 7.5.4) from the git-repo? I haven't found anything like that in the documentation. I have not managed to clone anything other than: https://oauth2:[oauth-key]@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git
Can you please help me for the future?
Best regards, Daniel
You need to add hash with version number at the end of the npm install command:
npm install git+https://oauth2:<your-auth-token>@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git#754
This topic is closed.
- User: Pro
- Premium support: Yes
- Technology: Angular
- MDB Version: 8.0.0
- Device: Windows PC
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No