Create Book List Component
We need to generate a component for our application. In our console, navigate to the book management folder that we have created earlier. Your path should look similar to:
Once reached, we are ready to create our component. Angular allows us to generate a component with a simple command:
We only need to define our component in the module we created. Your book management system module should become the following:
Finally, we create a new file "index.ts" in the list-books folder and add the following line:
Last updated
Was this helpful?