Topic: After installing using npm form components are not working
graphicsmanoj free asked 7 years ago
Hi,
I have installed MDB using npm in my Angular 4 CLI project.
I have added following files in angular-cli.json after installation
"styles": [
"../node_modules/font-awesome/scss/font-awesome.scss",
"../node_modules/angular-bootstrap-md/scss/bootstrap/bootstrap.scss",
"../node_modules/angular-bootstrap-md/scss/mdb-free.scss",
"./styles.scss"
],
"scripts": [
"../node_modules/chart.js/dist/Chart.js",
"../node_modules/hammerjs/hammer.min.js"
],
I placed the text box with following code.
<div class="md-form">
<inputtype="text"id="form1"class="form-control">
<labelfor="form1"class="">Example label</label>
</div>
It is not working fine for me. Can you please suggest me if I am missing any supportive files.
Thanks in advance.
Add comment
Dawid Adach pro answered 7 years ago
Please use our guide: https://mdbootstrap.com/angular/5min-quickstart/
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags