Current example using the button control
mybutton.html
<template>
<div style="margin: 50px;">
<button id="normalbtn">Normal</button>
</div>
</template>
mybutton.js
import { Button } from '@syncfusion/ej2-buttons';
export class Syncfusion {
constructor(){
}
attached(){
let button = new Button();
button.appendTo('#normalbtn');
}
}
main.js
import '@syncfusion/ej2-buttons/styles/material.css'
In this example I am importing the button on a specific page.
1) . How would I import button so I can use it on any page without have to add the import statement on each page.
2) How do I import all controls and be able to use them on any page without adding the import statement?
3) In addition to importing all controls I would also like to import material design css for all of the controls.
Thanks.