15 lines
416 B
JavaScript
15 lines
416 B
JavaScript
import './app.css';
|
|
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
import 'bootstrap';
|
|
|
|
// ! TODO: 5-14 строчки удалить, после теста компонента
|
|
import TestModal from './components/test-modal';
|
|
import TestButton from './components/test-button';
|
|
|
|
const testModal = new TestModal();
|
|
const testButton = new TestButton();
|
|
|
|
testButton.subscribe('click', () => {
|
|
testModal.show();
|
|
});
|