MDB Angular update instructions:
For the convenience of our users when updating our libraries to the latest versions, we provide an improved version of Update Instructions, in which the process of updating the project to the latest version is carried out step by step. In case of any problems, please check if someone has already had a similar problem on our support forum.
MDB Angular Free
-
Remove
node_modulesdirectory usingrm -rf node_moduleson Linux / Mac orrmdir node_modules /son Windows, -
Change
"angular-bootstrap-md"package version inpackage.jsonfile to the latest version and executenpm installone more time, or executenpm install --save angular-bootstrap-mdin terminal.
-
Remove
srcdirectory andangular-bootstrap-mdarchive, -
Clone latest MDB Angular repo from github into tmp folder and copy
srcdirectory andangular-bootstrap-mdarchive from it into your project, -
Execute
npm install angular-bootstrap-md-<version_number>.tgzcommand in your terminal.
-
Open
package.jsonfile, and change version of"angular-bootstrap-md"dependency to the latest version, -
Execute
npm installcommand to install new version of dependency packages.
MDB Angular Pro
-
Remove
node_modulesdirectory usingrm -rf node_moduleson Linux / Mac orrmdir node_modules /son Windows, -
Install dependencies one more time using
npm install.
The ng-uikit-pro-standard zip is divided into two
versions. The first version installs MDB Angular Pro as dependency.
The second version contains the entire MDB Angular code in the form of
a .tgz archive for self-installation.
First version update instruction:
-
Open your project, and execute
npm installcommand.
Second version update instruction:
- Download the new version of MDB Angular zip archive from user dashboard,
-
Copy the
ng-uikit-pro-standard-<version-number>archive from newly downloaded MDB Angular Pro zip archive into your project folder, -
Execute
npm install ng-uikit-pro-standard-<version-number>.tgzcommand in your project terminal.
MDB Angular Admin Template
- Download the newest admin template package,
- Copy
src/libfrom new package to your app, -
Copy latest version of
angular-bootstrap-mdand paste it into your app root folder, -
Install latest version of
angular-bootstrap-mdwith npm.
- Download the newest admin template package,
- Copy
src/libfrom new package to your app, -
Copy latest version of
ng-uikit-pro-standard archiveand paste it into your app root folder, -
Install latest version of
ng-uikit-pro-standard archivewith npm.
Modify your project from zip to npm / gitlab
The MDB Angular Free zip package uses
angular-bootstrap-md as a dependency, so there is no need
to change anything.
The ng-uikit-pro-standard zip is divided into two
versions. The first version installs MDB Angular Pro as dependency.
The second version contains the entire MDB Angular code in the form of
a .tgz archive for self-installation.
The first version of the MDB Angular Pro zip package already contains ng-uikit-pro-standard as a dependency, so there is no need to change anything.
Second version zip => dependency update instruction:
-
Remove
ng-uikit-pro-standard-<version-number>.tgzarchive from the root directory of your project, - Execute following command in your project terminal:
npm install git+https://oauth2:PLACE_YOUR_AUTH_TOKEN_HERE@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save
Upgrade to pro version
-
Remove
angular-bootstrap-mddependency frompackage.jsonfile. -
Install MDB Angular Pro with following command (if you haven't created
your own MDB gitlab token, you can learn how to do it in our
quick start guide):
npm install git+https://oauth2:YOUR_TOKEN@git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard.git --save -
Open the
angular.jsonfile and update thestylesarray:"node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss", "node_modules/@fortawesome/fontawesome-free/scss/solid.scss", "node_modules/@fortawesome/fontawesome-free/scss/regular.scss", "node_modules/@fortawesome/fontawesome-free/scss/brands.scss", "node_modules/ng-uikit-pro-standard/assets/scss/bootstrap/bootstrap.scss", "node_modules/ng-uikit-pro-standard/assets/scss/mdb.scss", "src/styles.scss" -
Update import paths. You can use your IDE/Code Editor to search for
all occurencies of
angular-bootstrap-mdand replace it withng-uikit-pro-standard