MDB Angular - Frequently Asked Questions
There are 2 ways to do it:
- You can download zip package and include it as a part of your app (i.e. into src/app/shared/mdb).
- You can install it using npm as a module (will be installed under
You can find installation steps for both options here.
ERROR in ./node_modules/angular-bootstrap-md/index.ts Module build failed: Error: C:projectsangular-examplenode_modulesangular-bootstrap-mdindex.ts is not part of the compilation output.
Use following workaround:
add following into tsconfig.json file located in *root* folder
"include": ["node_modules/ng-mdb-pro/**/*.ts", "src/**/*.ts"],
(note: there is also tsconfig.app.json file inside src folder, however if you want to use it, path should be different)
"include": [ "**/*.ts", "../node_modules/ng-mdb-pro/index.ts" ]
Note! for MDB free package use following package name: node_modules/angular-bootstrap-md/index.ts
As a long term solution we will compile MDB to JS, currently all tasks related to that subject are performed at this branch. All help/contribution will be appreciated.
[...] requires a peer of @angular/core@^2.3.1 || >=4.0.0-beta <5.0.0 but none is installed. You must install peer dependencies yourself.
WARNING: The `text-hide()` mixin has been deprecated as of v4.1.0. It will be removed entirely in v5. on line 10 of scss/bootstrap/mixins/_text-hide.scss, in mixin `text-hide` from line 57 of scss/bootstrap/utilities/_text.scss from line 14 of scss/bootstrap/_utilities.scss from line 41 of stdin