install tailwindcss
Browse files- package-lock.json +0 -0
- package.json +1 -0
- src/Home/App.tsx +4 -26
- tailwind.config.js +9 -0
package-lock.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
package.json
CHANGED
@@ -12,6 +12,7 @@
|
|
12 |
"solid-js": "^1.9.1"
|
13 |
},
|
14 |
"devDependencies": {
|
|
|
15 |
"typescript": "^5.5.3",
|
16 |
"vite": "^5.4.8",
|
17 |
"vite-plugin-solid": "^2.10.2"
|
|
|
12 |
"solid-js": "^1.9.1"
|
13 |
},
|
14 |
"devDependencies": {
|
15 |
+
"tailwindcss": "^3.4.13",
|
16 |
"typescript": "^5.5.3",
|
17 |
"vite": "^5.4.8",
|
18 |
"vite-plugin-solid": "^2.10.2"
|
src/Home/App.tsx
CHANGED
@@ -1,35 +1,13 @@
|
|
1 |
-
import { createSignal } from 'solid-js'
|
2 |
-
import solidLogo from './assets/solid.svg'
|
3 |
-
import viteLogo from '/vite.svg'
|
4 |
import './App.css'
|
5 |
|
6 |
-
|
7 |
-
|
8 |
|
9 |
return (
|
10 |
<>
|
11 |
-
|
12 |
-
<a href="https://vitejs.dev" target="_blank">
|
13 |
-
<img src={viteLogo} class="logo" alt="Vite logo" />
|
14 |
-
</a>
|
15 |
-
<a href="https://solidjs.com" target="_blank">
|
16 |
-
<img src={solidLogo} class="logo solid" alt="Solid logo" />
|
17 |
-
</a>
|
18 |
-
</div>
|
19 |
-
<h1>Vite + Solid</h1>
|
20 |
-
<div class="card">
|
21 |
-
<button onClick={() => setCount((count) => count + 1)}>
|
22 |
-
count is {count()}
|
23 |
-
</button>
|
24 |
-
<p>
|
25 |
-
Edit <code>src/App.tsx</code> and save to test HMR
|
26 |
-
</p>
|
27 |
-
</div>
|
28 |
-
<p class="read-the-docs">
|
29 |
-
Click on the Vite and Solid logos to learn more
|
30 |
-
</p>
|
31 |
</>
|
32 |
)
|
33 |
}
|
34 |
|
35 |
-
|
|
|
|
|
|
|
|
|
1 |
import './App.css'
|
2 |
|
3 |
+
|
4 |
+
export default function App() {
|
5 |
|
6 |
return (
|
7 |
<>
|
8 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9 |
</>
|
10 |
)
|
11 |
}
|
12 |
|
13 |
+
|
tailwind.config.js
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/** @type {import('tailwindcss').Config} */
|
2 |
+
export default {
|
3 |
+
content: [],
|
4 |
+
theme: {
|
5 |
+
extend: {},
|
6 |
+
},
|
7 |
+
plugins: [],
|
8 |
+
}
|
9 |
+
|