Scaffold project structure
Setup vcs, editor, language, and package configs for a basic site generator using TSX to build an html website.
This commit is contained in:
commit
51b458103b
9 changed files with 121 additions and 0 deletions
15
index.tsx
Normal file
15
index.tsx
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { htmlDocument, prettify } from "antihtml";
|
||||
|
||||
export const index = htmlDocument(
|
||||
prettify(
|
||||
<html>
|
||||
<head>
|
||||
<title>My Website</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>My Website</h1>
|
||||
<p>Hello world!</p>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
);
|
Loading…
Add table
Add a link
Reference in a new issue