Skip to content

Commit

Permalink
add postccss.config.cjs back
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleSeo committed Dec 4, 2024
1 parent 3a2c583 commit 1a62948
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
5 changes: 5 additions & 0 deletions postcss.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: {
"@pandacss/dev/postcss": {},
},
};
15 changes: 8 additions & 7 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import viteLogo from '/vite.svg'
import './App.css'
import { useState } from "react";
import reactLogo from "./assets/react.svg";
import viteLogo from "/vite.svg";
import { Button } from "./components/Button";

function App() {
const [count, setCount] = useState(0)
const [count, setCount] = useState(0);

return (
<>
Expand All @@ -17,6 +17,7 @@ function App() {
</a>
</div>
<h1>Vite + React</h1>
<Button>Dale</Button>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
Expand All @@ -29,7 +30,7 @@ function App() {
Click on the Vite and React logos to learn more
</p>
</>
)
);
}

export default App
export default App;

0 comments on commit 1a62948

Please sign in to comment.