HM-30. Добавлен класс Компонент, поправлены api, внедрен тестовый ком… (#5)

This commit is contained in:
Nikolay
2020-07-07 00:35:36 +03:00
committed by GitHub
parent 06d5ed1522
commit 6dabdd42c0
20 changed files with 580 additions and 95 deletions

View File

@ -1,3 +1,14 @@
import './app.css';
import 'bootstrap/dist/css/bootstrap.min.css';
import 'bootstrap';
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();
});