chore: Init package
This commit is contained in:
15
src/index.html
Normal file
15
src/index.html
Normal file
@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Index</title>
|
||||
<meta charset="utf-8" />
|
||||
<script src="./index.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test</p>
|
||||
<p id="test"></p>
|
||||
<script>
|
||||
ui.doTest();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
3
src/script/index.js
Normal file
3
src/script/index.js
Normal file
@ -0,0 +1,3 @@
|
||||
export const doTest = () => {
|
||||
document.getElementById('test').innerHTML = 'test';
|
||||
};
|
Reference in New Issue
Block a user