Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-cz committed Nov 3, 2021
1 parent 724be3c commit 377e6eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import '@ionic/react/css/display.css'

export function App() {
return (
// Error here
<IonApp>
<Logo />
<p>Hello Vite + Preact!</p>
Expand Down
7 changes: 6 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
"noEmit": true,
"jsx": "preserve",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment"
"jsxFragmentFactory": "Fragment",
"baseUrl": ".",
"paths": {
"react": ["node_modules/preact/compat"],
"react-dom": ["node_modules/preact/compat"]
}
},
"include": ["src"]
}

0 comments on commit 377e6eb

Please sign in to comment.