Topic: MDB Angular Pro API
Michael He pro asked 7 years ago
- I have read online documents and could not find API definition pages, I wondered there are any API docs or not. In case that online does not provide API document, is it possible to provide me the API docs as it is hard to find all usages without reading the source code.
- I found there are 2 version for me in the source code - free and pro. Can you please advice how to merge these 2 into one folder, I am using Angular5 in my project.
- In case that i use MDB for production, what do I need to do?
Dawid Adach pro answered 7 years ago
- You can find API Documentation in our online docs. Some of the components do not expose API, but those which do that, also describe the methods i.e.: https://mdbootstrap.com/angular/advanced/collapse/
- Following versions are complementary, pro extends free so there is no need to merge them, simply include both as it's mentioned here: https://mdbootstrap.com/angular/5min-quickstart/
- Simply create a production build using either JIT or AOT compiler depending on your preferences. (Since Angular 5, AOT is default compiler for production build)
Michael He pro answered 7 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
DanielNetzer free commented 7 years ago
Hello Michael, i'm not a part of the MDB team but I can try and answer your questions. 1. All the API Documents are found on the website, as most of the components are mostly UI oriented there is no need for an API. if you look at the Modal documentation you can find at the end of the page the API functionality of that component. 2. to merge both of this packages you need to have only the pro module in your app.module.ts (can you attach your app.module.ts and package.json files?) 3. you can use it easily in production as I'm doing the same, its AOT compatible and compile perfectly and seamlessly.Michael He pro commented 7 years ago
Hi DanielNetzer, You are so nice that answer my questions even you are not staff. Thank you very much for the answer, it is really helpful! Regards, Michael