Topic: MDB Admin Dashboard include in project
Jan Louw pro asked 6 years ago
Damian Gemza staff answered 6 years ago
mirnesc92 pro answered 6 years ago
Jan Louw pro commented 6 years ago
Thanks for the advice. I was just hoping for more information around on how you would include some of the components/example pages in an existing project. For example, if you want to include the Panel component from the AdminPro, do you just copy the specific css/templat/ts files under the app/views/components/panel directory to your project? I see there is a view.module.ts file under the app/views - do I include this then as well? Just too confusing for an entry level/beginner like myself. Regardsmirnesc92 pro commented 6 years ago
Sorry I thought this was tagged under MDB JQuery before, I don't have any experience working with Angular. The JQuery version doesn't really have a concept of re-usable components like React, Vue, and Angular do. Maybe someone else who has worked with Angular can help. I've worked with React and Vue before, I assume you should be able to do something similar to this to include the Panel component for example. import { Panel } from '@foo/bar'; Then once you have the component imported to you can pass it properties. The MDB Angular code should be setup as dependency and not mixed in with your apps components etc.FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No