Question: how to export table data to excel in angular 6?
Answer: Create an Angular project by using the following command. ...  Open the newly created project in Visual Studio Code and open the terminal. ...  Add the following command to add Bootstrap in this project. ...  Now open styles. ...  Now Open app.component.ts file and import xlsx library.