init
This commit is contained in:
10
src/app.tsx
Normal file
10
src/app.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { render } from 'preact';
|
||||
import Text3D from './text';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Text3D width={800} height={500} style={'border: 1px solid black'} scale={0.5}>text</Text3D>
|
||||
)
|
||||
}
|
||||
|
||||
render(<App />, document.body);
|
||||
Reference in New Issue
Block a user