Initial code

This commit is contained in:
Aslan 2025-12-30 16:47:13 +01:00
parent 7612a0de79
commit ecb354cf6e
10 changed files with 2883 additions and 128 deletions

7
src/App.tsx Normal file
View file

@ -0,0 +1,7 @@
import type { Component } from "solid-js";
const App: Component = () => {
return <p></p>;
};
export default App;

2
src/index.css Normal file
View file

@ -0,0 +1,2 @@
@import "tailwindcss";
@plugin "daisyui";

16
src/index.tsx Normal file
View file

@ -0,0 +1,16 @@
/* @refresh reload */
import './index.css';
import { render } from 'solid-js/web';
import 'solid-devtools';
import App from './App';
const root = document.getElementById('root');
if (import.meta.env.DEV && !(root instanceof HTMLElement)) {
throw new Error(
'Root element not found. Did you forget to add it to your index.html? Or maybe the id attribute got misspelled?',
);
}
render(() => <App />, root!);