Scaffold webpack
This commit is contained in:
parent
f277d5dfaa
commit
e95f1fef4a
10 changed files with 10762 additions and 0 deletions
9
src/index.ts
Normal file
9
src/index.ts
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function component() {
|
||||
const element = document.createElement('div');
|
||||
|
||||
element.innerHTML = 'Hello world';
|
||||
|
||||
return element;
|
||||
}
|
||||
|
||||
document.body.appendChild(component());
|
||||
Loading…
Add table
Add a link
Reference in a new issue