<dp-world-faq style="width: 1024px;" [questionsAndAnswers]="config.questionsAndAnswers"></dp-world-faq>
npm install dp-world-faq questionsAndAnswers=[
{
question:" question 1 ",
answer:
You should visit W3Schools.com!
},
{
question:" question 2 ",
answer: "as much wood as a"
},
{
question:" question 3 ",
answer: "as much wood as a"
},
{
question:" question 4 ",
answer: "as much wood as a"
},
]
This library was generated with Angular CLI version 10.1.3.
Run ng generate component component-name --project dp-world-faq to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project dp-world-faq.
> Note: Don't forget to add --project dp-world-faq or else it will be added to the default project in your angular.json file.
Run ng build dp-world-faq to build the project. The build artifacts will be stored in the dist/ directory.
After building your library with ng build dp-world-faq, go to the dist folder cd dist/dp-world-faq and run npm publish.
Run ng test dp-world-faq to execute the unit tests via Karma.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.