Add base app

This commit is contained in:
2022-08-09 01:34:58 +02:00
commit 94986d336e
14 changed files with 1421 additions and 0 deletions

9
src/App.tsx Normal file
View File

@@ -0,0 +1,9 @@
function App() {
return (
<div className="App">
<p className="text-3xl font-bold underline">Some text</p>
</div>
)
}
export default App

10
src/main.tsx Normal file
View File

@@ -0,0 +1,10 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import "./root.css"
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
<React.StrictMode>
<App />
</React.StrictMode>
)

3
src/root.css Normal file
View File

@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

1
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />