Open History to see the last commit
1<% if (fileRouter) { ignoreFile() } %>import logo from "./logo.svg";<% if (!tailwind) { %>
2import "./App.css";
3<% } %>
4
5function App() {
6 return (<% if (tailwind) { %>
7 <div className="text-center">
8 <header className="min-h-screen flex flex-col items-center justify-center bg-[#282c34] text-white text-[calc(10px+2vmin)]">
9 <img
10 src={logo}
11 className="h-[40vmin] pointer-events-none animate-[spin_20s_linear_infinite]"
12 alt="logo"
13 />
14 <p>
15 Edit <code>src/App.<%= jsx %></code> and save to reload.
16 </p>
17 <a
18 className="text-[#61dafb] hover:underline"
19 href="https://reactjs.org"
20 target="_blank"
21 rel="noopener noreferrer"
22 >
23 Learn React
24 </a>
25 <a
26 className="text-[#61dafb] hover:underline"
27 href="https://tanstack.com"
28 target="_blank"
29 rel="noopener noreferrer"
30 >
31 Learn TanStack
32 </a>
33 </header>
34 </div>
35<% } else { %>
36 <div className="App">
37 <header className="App-header">
38 <img src={logo} className="App-logo" alt="logo" />
39 <p>
40 Edit <code>src/App.<%= jsx %></code> and save to reload.
41 </p>
42 <a
43 className="App-link"
44 href="https://reactjs.org"
45 target="_blank"
46 rel="noopener noreferrer"
47 >
48 Learn React
49 </a>
50 <a
51 className="App-link"
52 href="https://tanstack.com"
53 target="_blank"
54 rel="noopener noreferrer"
55 >
56 Learn TanStack
57 </a>
58 </header>
59 </div>
60<% } %> );
61}
62
63export default App;