playmak3r commited on
Commit
796d3e2
1 Parent(s): dcd684a

install tailwindcss

Browse files
Files changed (4) hide show
  1. package-lock.json +0 -0
  2. package.json +1 -0
  3. src/Home/App.tsx +4 -26
  4. 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
- function App() {
7
- const [count, setCount] = createSignal(0)
8
 
9
  return (
10
  <>
11
- <div>
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
- export default App
 
 
 
 
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
+