stapes | the Javascript MVC microframework | Application Framework library
kandi X-RAY | stapes Summary
kandi X-RAY | stapes Summary
Archived documentation available here:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of stapes
stapes Key Features
stapes Examples and Code Snippets
Community Discussions
Trending Discussions on stapes
QUESTION
I am trying to import the ngx Bootstrap datepicker in my Angular Application for that I followed the following stapes
to npm install ngx-bootstrap
npm install ngx-bootstrap --save
Installed bootstrap 3
npm install bootstrap@3 --save
In angular-cli.json file and specify the path to the Bootstrap stylesheet (bootstrap.min.css) in the styles property
"styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "styles.css" ]
For Using ngx-bootstrap datepicker in Angular :
In app.module.ts file, imported BsDatepickerModule
import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
In html used
bsDatepicker
class="form-control" />
Include a reference to the bs-datepicker.css file in .angular-cli.json file.
"styles": [ "../node_modules/bootstrap/dist/css/bootstrap.min.css", "../node_modules/ngx-bootstrap/datepicker/bs-datepicker.css", "styles.css" ]
but I am getting error while running the Angular Application
...
ANSWER
Answered 2019-Nov-05 at 07:57After I correct the importing css files location my error is fixed .
I edited angular.json
file like as below
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install stapes
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page